binutils-gdb/ld/emultempl
Alan Modra ca0694adf6 Don't create .eh_frame_hdr on shared lib bfd
If no object files have .eh_frame, but some shared library does, then
ld creates a .eh_frame_hdr section using the shared library bfd.  This
is silly since shared library .eh_frame sections don't contribute to
the output .eh_frame and thus no .eh_frame_hdr is needed.

Also, the bfd section list and count is cleared for shared libraries,
and a zero section count used as a flag in lang_check to omit a call
to bfd_merge_private_bfd_data for shared libraries.  If we create a
section on a shared lib bfd then ld will wrongly attempt to merge the
shared library private bfd data.

	PR 17742
	* ld/emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Exclude
	shared libraries in loop looking for .eh_frame sections.
	Similarly for build-id loop.
2014-12-24 23:47:56 +10:30
..
aarch64elf.em [AArch64] Cortex-A53 erratum 835769 linker workaround 2014-10-24 11:39:35 +01:00
aix.em
alphaelf.em
armcoff.em
armelf.em ARM/ld: Correct macro formatting in armelf.em 2014-08-20 20:17:18 +01:00
astring.sed
avrelf.em AVR/ld: Propagate link-relax elf header flag correctly. 2014-12-23 15:45:11 +00:00
beos.em
bfin.em
cr16elf.em
crxelf.em
elf32.em Don't create .eh_frame_hdr on shared lib bfd 2014-12-24 23:47:56 +10:30
elf-generic.em
epiphanyelf_4x4.em
genelf.em
generic.em
gld960.em
gld960c.em
hppaelf.em Return error status from bfd_elf_discard_info. 2014-08-18 09:33:35 +09:30
ia64elf.em
irix.em
linux.em
lnk960.em
m68hc1xelf.em
m68kcoff.em
m68kelf.em
metagelf.em Return error status from bfd_elf_discard_info. 2014-08-18 09:33:35 +09:30
mipself.em
mmix-elfnmmo.em
mmixelf.em
mmo.em
nds32elf.em NDS32: Code refactoring of relaxation. 2014-09-16 13:08:00 +08:00
needrelax.em
netbsd.em
nios2elf.em Return error status from bfd_elf_discard_info. 2014-08-18 09:33:35 +09:30
ostring.sed
pe.em Change pe/coff build-id section name to '.buildid' 2014-09-08 17:54:20 +01:00
pep.em Change pe/coff build-id section name to '.buildid' 2014-09-08 17:54:20 +01:00
ppc32elf.em
ppc64elf.em PowerPC64 --plt-align 2014-11-24 12:56:59 +10:30
README
rxelf.em
scoreelf.em
sh64elf.em
solaris2.em
spu_icache.o_c Regenerate spu overlay and icache manager files 2014-11-04 22:36:13 +10:30
spu_icache.S
spu_ovl.o_c Regenerate spu overlay and icache manager files 2014-11-04 22:36:13 +10:30
spu_ovl.S
spuelf.em
sunos.em
tic6xdsbt.em Return error status from bfd_elf_discard_info. 2014-08-18 09:33:35 +09:30
ticoff.em
vanilla.em
vms.em Return error status from bfd_elf_discard_info. 2014-08-18 09:33:35 +09:30
vxworks.em
xtensaelf.em
z80.em

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The files in this directory are sourced by genscripts.sh, after
setting some variables to substitute in, to produce
C source files that contain jump tables for each emulation.

Copyright (C) 2012-2014 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.