PR gold/13163
* script-sections.cc (Output_section_element_dot_assignment::needs_output_section): New function.
This commit is contained in:
parent
6caca83cb8
commit
bfc34b3fc4
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2011-10-19 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
|
PR gold/13163
|
||||||
|
* script-sections.cc
|
||||||
|
(Output_section_element_dot_assignment::needs_output_section): New
|
||||||
|
function.
|
||||||
|
|
||||||
2011-10-19 Ian Lance Taylor <iant@google.com>
|
2011-10-19 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
PR gold/13204
|
PR gold/13204
|
||||||
|
|
|
@ -892,6 +892,12 @@ class Output_section_element_dot_assignment : public Output_section_element
|
||||||
: val_(val)
|
: 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.
|
// Finalize the symbol.
|
||||||
void
|
void
|
||||||
finalize_symbols(Symbol_table* symtab, const Layout* layout,
|
finalize_symbols(Symbol_table* symtab, const Layout* layout,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue