binutils-gdb/ld/emultempl
Alan Modra 794e51c094 bfd/
* elf64-ppc.c: Define more insns used in plt call stubs.
	(ppc64_elf_brtaken_reloc): Assume isa version 2 or above.
	(ppc64_elf_relocate_section): Likewise.
	(enum ppc_stub_type): Add ppc_stub_plt_call_r2save.
	(struct ppc_link_hash_table): Increase size of stub_count array.
	Add plt_stub_align and plt_thread_safe.
	(ALWAYS_USE_FAKE_DEP, ALWAYS_EMIT_R2SAVE): Define.
	(plt_stub_size, plt_stub_pad): New functions.
	(build_plt_stub): Emit barriers for power7 thread safety.  Don't
	emit needless save of r2.
	(build_tls_get_addr_stub): Adjust params.
	(ppc_build_one_stub): Handle ppc_stub_plt_call_r2save and aligning
	plt stubs.  Adjust build_*plt_stub calls.
	(ppc_size_one_stub): Similarly.
	(ppc64_elf_size_stubs): Accept plt_thread_safe and plt_stub_align
	params.  Choose default for plt_thread_safe based on existence of
	calls to thread creation functions.  Modify plt_call to
	plt_call_r2save when no tocsave reloc found.  Align tail of stub
	sections.
	(ppc64_elf_build_stubs): Align tail of stub sections.  Adjust
	output of stub statistics.
	(ppc64_elf_relocate_section): Handle ppc_stub_plt_call_r2save.
	* elf64-ppc.h (ppc64_elf_size_stubs): Update prototype.
ld/
	* emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE,
	PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
	PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and
	--{no-,}plt-align.
	(plt_thread_safe, plt_stub_align): New vars.
	(gld${EMULATION_NAME}_after_allocation): Pass them to
	ppc64_elf_size_stubs.  Align stub sections according to plt_stub_align.
	* ld.texinfo: Document new command line options, and an old
	undocumented option.
2012-01-11 09:28:45 +00:00
..
aix.em 2011-11-02 Tristan Gingold <gingold@adacore.com> 2011-11-02 16:28:31 +00:00
alphaelf.em
armcoff.em
armelf.em * emultempl/armelf.em: Update copyright to 2010 and 2011. 2011-11-25 15:04:09 +00:00
astring.sed
avrelf.em
beos.em
bfin.em
cr16elf.em
crxelf.em
elf32.em PR ld/13254 2011-10-19 04:13:28 +00:00
elf-generic.em
genelf.em
generic.em
gld960.em
gld960c.em
hppaelf.em
ia64elf.em
irix.em
linux.em
lnk960.em
m68hc1xelf.em
m68kcoff.em
m68kelf.em
mipsecoff.em
mipself.em
mmix-elfnmmo.em
mmixelf.em
mmo.em
needrelax.em
netbsd.em
ostring.sed
pe.em * ldlang.c (sort_def_symbol, lang_one_common): Don't handle 2011-06-13 00:59:43 +00:00
pep.em * ldlang.c (sort_def_symbol, lang_one_common): Don't handle 2011-06-13 00:59:43 +00:00
ppc32elf.em bfd/ 2011-07-26 01:57:18 +00:00
ppc64elf.em bfd/ 2012-01-11 09:28:45 +00:00
README
rxelf.em
scoreelf.em
sh64elf.em
solaris2.em Check if a symbol is hidden by linker script. 2011-09-16 01:15:20 +00:00
spu_icache.o_c
spu_icache.S
spu_ovl.o_c
spu_ovl.S
spuelf.em * emultempl/spuelf.em (spu_elf_relink): Use pex_one in place 2011-12-01 11:38:32 +00:00
sunos.em
tic6xdsbt.em
ticoff.em
vanilla.em
vms.em
vxworks.em
xtensaelf.em
z80.em

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.