2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set bfd_section when removing unused empty output sections for non-relocatable link.
This commit is contained in:
parent
257a482034
commit
98720c64bc
|
@ -1,3 +1,9 @@
|
||||||
|
2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set
|
||||||
|
bfd_section when removing unused empty output sections for
|
||||||
|
non-relocatable link.
|
||||||
|
|
||||||
2005-03-19 Alan Modra <amodra@bigpond.net.au>
|
2005-03-19 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* ldlang.c (lang_insert_orphan): Use old section_tail rather than
|
* ldlang.c (lang_insert_orphan): Use old section_tail rather than
|
||||||
|
|
|
@ -1459,8 +1459,6 @@ gld${EMULATION_NAME}_finish (void)
|
||||||
{
|
{
|
||||||
asection **p;
|
asection **p;
|
||||||
|
|
||||||
os->bfd_section = NULL;
|
|
||||||
|
|
||||||
for (p = &output_bfd->sections; *p; p = &(*p)->next)
|
for (p = &output_bfd->sections; *p; p = &(*p)->next)
|
||||||
if (*p == s)
|
if (*p == s)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue