mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
PR gold/13163
* script-sections.cc (Output_section_element_dot_assignment::needs_output_section): New function.
This commit is contained in:
@@ -892,6 +892,12 @@ class Output_section_element_dot_assignment : public Output_section_element
|
||||
: val_(val)
|
||||
{ }
|
||||
|
||||
// An assignment to dot within an output section is enough to force
|
||||
// the output section to exist.
|
||||
bool
|
||||
needs_output_section() const
|
||||
{ return true; }
|
||||
|
||||
// Finalize the symbol.
|
||||
void
|
||||
finalize_symbols(Symbol_table* symtab, const Layout* layout,
|
||||
|
||||
Reference in New Issue
Block a user