diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-03-18 15:56:27 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-03-18 15:56:27 +0000 |
commit | 98720c64bcddccb687d46e6b087da0aef7abc198 (patch) | |
tree | fb6f3ccfe8f746a8033a8f9883b10184dc76b45e /ld/emultempl/elf32.em | |
parent | 257a4820343d480520b72e5b25e07c94b2502684 (diff) | |
download | gdb-98720c64bcddccb687d46e6b087da0aef7abc198.zip gdb-98720c64bcddccb687d46e6b087da0aef7abc198.tar.gz gdb-98720c64bcddccb687d46e6b087da0aef7abc198.tar.bz2 |
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.
Diffstat (limited to 'ld/emultempl/elf32.em')
-rw-r--r-- | ld/emultempl/elf32.em | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index d830959..1acedb4 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -1459,8 +1459,6 @@ gld${EMULATION_NAME}_finish (void) { asection **p; - os->bfd_section = NULL; - for (p = &output_bfd->sections; *p; p = &(*p)->next) if (*p == s) { |