mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
* symtab.h (class Symbol_table): Add enum Defined.
* resolve.cc (Symbol_table::should_override): Add defined parameter. Change all callers. Test whether object is NULL before calling a method on it. (Symbol_table::report_resolve_problem): Add defined parameter. Change all callers. (Symbol_table::should_override_with_special): Likewise. * symtab.cc (Symbol_table::define_in_output_data): Add defined parameter. Change all callers. (Symbol_table::do_define_in_output_data): Likewise. (Symbol_table::define_in_output_segment): Likewise. (Symbol_table::do_define_in_output_segment): Likewise. (Symbol_table::define_as_constant): Likewise. (Symbol_table::do_define_as_constant): Likewise. * script.h (class Symbol_assignment): Add is_defsym parameter to constructor; change all callers. * script.cc (Script_options::add_symbol_assignment): Add is_defsym parameter. Change all callers. Add is_defsym_ field. (class Parser_closure): Add parsing_defsym parameter to constructor; change all callers. Add parsing_defsym accessor function. Add parsing_defsym_ field.
This commit is contained in:
@ -406,7 +406,7 @@ class Sections_element_assignment : public Sections_element
|
||||
public:
|
||||
Sections_element_assignment(const char* name, size_t namelen,
|
||||
Expression* val, bool provide, bool hidden)
|
||||
: assignment_(name, namelen, val, provide, hidden)
|
||||
: assignment_(name, namelen, false, val, provide, hidden)
|
||||
{ }
|
||||
|
||||
// Add the symbol to the symbol table.
|
||||
@ -593,7 +593,7 @@ class Output_section_element_assignment : public Output_section_element
|
||||
Output_section_element_assignment(const char* name, size_t namelen,
|
||||
Expression* val, bool provide,
|
||||
bool hidden)
|
||||
: assignment_(name, namelen, val, provide, hidden)
|
||||
: assignment_(name, namelen, false, val, provide, hidden)
|
||||
{ }
|
||||
|
||||
// Add the symbol to the symbol table.
|
||||
|
Reference in New Issue
Block a user