binutils-gdb/ld/emultempl
Guy Martin 24ef1aa73e Fix duplicate output section statement lookup
Tie output section statements to their associated output section via
output section userdata.  This allows us to avoid hash lookups which
are slower and fail when multiple output sections have the same name.

	* ldlang.h (lang_output_section_get): Define.
	* ldlang.c (lang_output_section_get): Likewise.
	(init_os): Set the output_section userdata to the output
	section statement.
	* emultempl/hppaelf.em: Use lang_output_section_get instead of
	lang_output_section_find where applicable.
	* emultempl/aarch64elf.em: Likewise.
	* emultempl/aix.em: Likewise.
	* emultempl/armelf.em: Likewise.
	* emultempl/m68hc1xelf.em: Likewise.
	* emultempl/metagelf.em: Likewise.
	* emultempl/mipself.em: Likewise.
	* emultempl/ppc64elf.em: Likewise.
	* emultempl/spuelf.em: Likewise.
2014-01-20 14:21:36 +10:30
..
aarch64elf.em Fix duplicate output section statement lookup 2014-01-20 14:21:36 +10:30
aix.em Fix duplicate output section statement lookup 2014-01-20 14:21:36 +10:30
alphaelf.em
armcoff.em Allow ld target customiser script to force on disk scripts. 2014-01-17 10:41:49 +10:30
armelf.em Fix duplicate output section statement lookup 2014-01-20 14:21:36 +10:30
astring.sed
avrelf.em
beos.em
bfin.em
cr16elf.em
crxelf.em
elf32.em Allow ld target customiser script to force on disk scripts. 2014-01-17 10:41:49 +10:30
elf-generic.em
epiphanyelf_4x4.em
genelf.em
generic.em Allow ld target customiser script to force on disk scripts. 2014-01-17 10:41:49 +10:30
gld960.em Allow ld target customiser script to force on disk scripts. 2014-01-17 10:41:49 +10:30
gld960c.em Allow ld target customiser script to force on disk scripts. 2014-01-17 10:41:49 +10:30
hppaelf.em Fix duplicate output section statement lookup 2014-01-20 14:21:36 +10:30
ia64elf.em
irix.em
linux.em Allow ld target customiser script to force on disk scripts. 2014-01-17 10:41:49 +10:30
lnk960.em Allow ld target customiser script to force on disk scripts. 2014-01-17 10:41:49 +10:30
m68hc1xelf.em Fix duplicate output section statement lookup 2014-01-20 14:21:36 +10:30
m68kcoff.em Allow ld target customiser script to force on disk scripts. 2014-01-17 10:41:49 +10:30
m68kelf.em
metagelf.em Fix duplicate output section statement lookup 2014-01-20 14:21:36 +10:30
mipself.em Fix duplicate output section statement lookup 2014-01-20 14:21:36 +10:30
mmix-elfnmmo.em
mmixelf.em
mmo.em
nds32elf.em Add support for Andes NDS32: 2013-12-13 11:52:32 +00:00
needrelax.em
netbsd.em
ostring.sed
pe.em * windres.c (define_resource): Use zero for timestamp, making 2013-11-22 14:55:56 +00:00
pep.em * windres.c (define_resource): Use zero for timestamp, making 2013-11-22 14:55:56 +00:00
ppc32elf.em
ppc64elf.em Fix duplicate output section statement lookup 2014-01-20 14:21:36 +10:30
README
rxelf.em
scoreelf.em
sh64elf.em
solaris2.em
spu_icache.o_c
spu_icache.S
spu_ovl.o_c
spu_ovl.S
spuelf.em Fix duplicate output section statement lookup 2014-01-20 14:21:36 +10:30
sunos.em Allow ld target customiser script to force on disk scripts. 2014-01-17 10:41:49 +10:30
tic6xdsbt.em
ticoff.em Allow ld target customiser script to force on disk scripts. 2014-01-17 10:41:49 +10:30
vanilla.em
vms.em
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 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.