old-cross-binutils/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 * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
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 * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
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 PR ld/10956 2009-11-26 13:45:25 +00:00
crxelf.em PR ld/10956 2009-11-26 13:45:25 +00:00
elf-generic.em update copyright dates 2009-09-02 07:25:43 +00:00
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 include/ 2008-02-15 03:35:53 +00:00
gld960c.em 2007-07-19 Roland McGrath <roland@redhat.com> 2007-07-19 19:56:10 +00:00
hppaelf.em * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
ia64elf.em PR ld/6766 2009-09-13 07:19:18 +00:00
irix.em update copyright dates 2009-09-02 07:25:43 +00:00
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 update copyright dates 2009-09-02 07:25:43 +00:00
m68kcoff.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
m68kelf.em update copyright dates 2009-09-02 07:25:43 +00:00
mipsecoff.em update copyright dates 2009-09-02 07:25:43 +00:00
mipself.em PR ld/12845 2011-06-09 10:36:20 +00:00
mmix-elfnmmo.em PR ld/10956 2009-11-26 13:45:25 +00:00
mmixelf.em update copyright dates 2009-09-02 07:25:43 +00:00
mmo.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
needrelax.em PR ld/10956 2009-11-26 13:45:25 +00:00
netbsd.em include/ 2009-10-14 05:54:29 +00:00
ostring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
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 19990502 sourceware import 1999-05-03 07:29:11 +00:00
rxelf.em PR ld/12759 2011-05-17 16:02:31 +00:00
scoreelf.em Add support for Score7 architecture. 2009-03-02 10:33:08 +00:00
sh64elf.em PR ld/11384 2010-03-18 13:15:46 +00:00
solaris2.em Check if a symbol is hidden by linker script. 2011-09-16 01:15:20 +00:00
spu_icache.o_c bfd/ 2009-03-17 12:46:19 +00:00
spu_icache.S bfd/ 2009-03-17 12:46:19 +00:00
spu_ovl.o_c Include the spu_ovl ASCII form in the repository files. 2008-08-02 16:25:44 +00:00
spu_ovl.S bfd/ 2008-06-16 16:16:31 +00:00
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 update copyright dates 2009-09-02 07:25:43 +00:00
vanilla.em update copyright dates 2009-09-02 07:25:43 +00:00
vms.em 2011-05-04 Tristan Gingold <gingold@adacore.com> 2011-05-04 08:31:04 +00:00
vxworks.em PR 11107 2010-01-08 01:41:11 +00:00
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

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.