mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
* archive.cc (Library_base::should_include_member): Pull in object
from archive if it defines the entry symbol. * parameters.cc (Parameters::entry): New function. * parameters.h (class Parameters): Declare entry. * output.h (class Output_file_header): Remove entry_ field. * output.cc (Output_file_header::Output_file_header): Remove entry parameter. Change all callers. (Output_file_header::entry): Use parameters->entry. * gold.cc (queue_middle_tasks): Likewise. * plugin.cc (Plugin_hook::run): Likewise.
This commit is contained in:
@@ -2192,9 +2192,8 @@ Layout::finalize(const Input_objects* input_objects, Symbol_table* symtab,
|
||||
: new Output_segment_headers(this->segment_list_));
|
||||
|
||||
// Lay out the file header.
|
||||
Output_file_header* file_header
|
||||
= new Output_file_header(target, symtab, segment_headers,
|
||||
parameters->options().entry());
|
||||
Output_file_header* file_header = new Output_file_header(target, symtab,
|
||||
segment_headers);
|
||||
|
||||
this->special_output_list_.push_back(file_header);
|
||||
if (segment_headers != NULL)
|
||||
|
||||
Reference in New Issue
Block a user