diff options
author | Alan Modra <amodra@gmail.com> | 2005-08-04 01:19:10 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-08-04 01:19:10 +0000 |
commit | 1e035701d67ed8a8bc72ec9e393f2d984090a60c (patch) | |
tree | 6fcad3c6a7a6230a26ad9be058d62593e52434a1 /ld/emultempl/armcoff.em | |
parent | 90b263f311be83eb53821908bbec2a18e2b1ce69 (diff) | |
download | gdb-1e035701d67ed8a8bc72ec9e393f2d984090a60c.zip gdb-1e035701d67ed8a8bc72ec9e393f2d984090a60c.tar.gz gdb-1e035701d67ed8a8bc72ec9e393f2d984090a60c.tar.bz2 |
bfd/
* elflink.c (fix_syms, _bfd_elf_fix_excluded_sec_syms): Move to..
* linker.c (fix_syms, _bfd_fix_excluded_sec_syms): ..here.
* bfd-in.h (_bfd_fix_excluded_sec_syms): Rename.
* bfd-in2.h: Regenerate.
ld/
* ldemul.c (ldemul_finish): Call ld_emulation->finish unconditionally.
(finish_default): New function.
* ldemul.h (finish_default): Declare.
* emultempl/aix.em (gld*_before_allocation): Call
before_allocation_default rather than strip_excluded_output_sections.
(ld_*_emulation): Init finish field to finish_default.
* emultempl/armcoff.em: Likewise.
* emultempl/beos.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/generic.em: Likewise.
* emultempl/gld960.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/lnk960.em: Likewise.
* emultempl/m68kcoff.em: Likewise.
* emultempl/mmo.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/sunos.em: Likewise.
* emultempl/ticoff.em: Likewise.
* emultempl/vanilla.em: Likewise.
Diffstat (limited to 'ld/emultempl/armcoff.em')
-rw-r--r-- | ld/emultempl/armcoff.em | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/emultempl/armcoff.em b/ld/emultempl/armcoff.em index 64a2b32..acf117c 100644 --- a/ld/emultempl/armcoff.em +++ b/ld/emultempl/armcoff.em @@ -126,8 +126,7 @@ gld${EMULATION_NAME}_before_allocation (void) /* We have seen it all. Allocate it, and carry on */ bfd_arm_allocate_interworking_sections (& link_info); - if (!link_info.relocatable) - strip_excluded_output_sections (); + before_allocation_default (); } static void @@ -194,6 +193,8 @@ gld${EMULATION_NAME}_finish (void) } else einfo (_("%P: warning: connot find thumb start symbol %s\n"), thumb_entry_symbol); + + finish_default (); } static char * |