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
..
README
aix.em 2011-11-02 Tristan Gingold <gingold@adacore.com> 2011-11-02 16:28:31 +00:00
alphaelf.em
armcoff.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
armelf.em * emultempl/armelf.em: Update copyright to 2010 and 2011. 2011-11-25 15:04:09 +00:00
astring.sed
avrelf.em /bfd: 2011-03-22 18:10:48 +00:00
beos.em 2011-02-28 Kai Tietz <kai.tietz@onevision.com> 2011-02-28 18:34:52 +00:00
bfin.em blackfin: add support for L1 code/data flags 2010-11-16 03:33:07 +00:00
cr16elf.em
crxelf.em
elf-generic.em
elf32.em PR ld/13254 2011-10-19 04:13:28 +00:00
genelf.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
generic.em 2011-05-04 Tristan Gingold <gingold@adacore.com> 2011-05-04 08:31:04 +00:00
gld960.em
gld960c.em
hppaelf.em
ia64elf.em
irix.em
linux.em Replace is_archive with maybe_archive. 2010-12-06 00:07:06 +00:00
lnk960.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
m68hc1xelf.em
m68kcoff.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
m68kelf.em
mipsecoff.em
mipself.em PR ld/12845 2011-06-09 10:36:20 +00:00
mmix-elfnmmo.em
mmixelf.em
mmo.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
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
rxelf.em PR ld/12759 2011-05-17 16:02:31 +00:00
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.S
spu_icache.o_c
spu_ovl.S
spu_ovl.o_c
spuelf.em * emultempl/spuelf.em (spu_elf_relink): Use pex_one in place 2011-12-01 11:38:32 +00:00
sunos.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
tic6xdsbt.em ld/ 2011-05-13 18:15:33 +00:00
ticoff.em
vanilla.em
vms.em 2011-05-04 Tristan Gingold <gingold@adacore.com> 2011-05-04 08:31:04 +00:00
vxworks.em
xtensaelf.em * ldmain.c (main): Flush stdout before and stderr after printing 2011-01-14 12:37:17 +00:00
z80.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00

README

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.