old-cross-binutils/ld/emultempl
Yuri Gribov 1db37fe627 This patch adds support for ARM PLT entries that support a full 32-bit offset range.
Enabled via the use of a new linker command line option: --long-plt.

	* bfd-in.h: Add export of bfd_elf32_arm_use_long_plt.
	* bfd-in2.h: Regenerate.
	* elf32-arm.c (elf32_arm_plt_entry_long): New array.
	(elf32_arm_link_hash_table_create): Set plt_entry_size to 16 if
	using long PLT entries.
	(bfd_elf32_arm_use_long_plt): New function.
	(elf32_arm_populate_plt_entry): Add support for long PLT entries.

	* emultempl/armelf.em (OPTION_LONG_PLT): Define.
	(PARSE_AND_LIST_LONGOPTS): Add long-plt.
	(PARSE_AND_LIST_OPTIONS): Likewise.
	(PARSE_AND_LIST_ARGS_CASES): Handle long-plt.
	* ld.texinfo: Document --long-plt.

	* ld-arm/long-plt-format.s: New test case.
	* ld-arm/long-plt-format.d: Expected disassembly.
	* ld-arm/arm-elf.exp: Run the new test.
2014-02-27 14:35:37 +00:00
..
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 Revert 2013-02-04, 2013-01-22 and 2013-01-21 changes. 2013-02-05 21:47:32 +00:00
armcoff.em Allow ld target customiser script to force on disk scripts. 2014-01-17 10:41:49 +10:30
armelf.em This patch adds support for ARM PLT entries that support a full 32-bit offset range. 2014-02-27 14:35:37 +00:00
astring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
avrelf.em * emultempl/avrelf.em (avr_elf_before_parse): New function. 2013-02-05 22:38:34 +00:00
beos.em bfd/ 2012-08-06 22:27:52 +00:00
bfin.em blackfin: add support for L1 code/data flags 2010-11-16 03:33:07 +00:00
cr16elf.em Revert 2013-02-04, 2013-01-22 and 2013-01-21 changes. 2013-02-05 21:47:32 +00:00
crxelf.em Revert 2013-02-04, 2013-01-22 and 2013-01-21 changes. 2013-02-05 21:47:32 +00:00
default-manifest.rc This patch adds a default manifest in to the final links performed by the Cygwin and MinGW targets. 2014-02-27 14:13:43 +00:00
elf-generic.em bfd/ 2013-02-21 02:29:11 +00:00
elf32.em Improve orphaned TLS section handling 2014-01-24 08:56:07 -08:00
epiphanyelf_4x4.em * scripttempl/epiphany_4x4.sc, emulparams/elf32epiphany_4x4.sh: Add. 2012-11-30 18:28:38 +00:00
genelf.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
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 Revert 2013-02-04, 2013-01-22 and 2013-01-21 changes. 2013-02-05 21:47:32 +00:00
irix.em update copyright dates 2009-09-02 07:25:43 +00:00
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 update copyright dates 2009-09-02 07:25:43 +00:00
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 Fix MMIX build breakage from bfd_set_section_vma change. 2014-02-01 01:11:28 +01:00
mmixelf.em ld/ 2012-11-26 23:26:35 +00:00
mmo.em * emultempl/mmo.em (mmo_place_orphan): Rewrite to also attach 2012-09-09 16:30:40 +00:00
nds32elf.em Add support for Andes NDS32: 2013-12-13 11:52:32 +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
nios2elf.em Nios II CALL26 linker relaxation 2014-01-30 17:47:07 -08:00
ostring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
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 Fix ELF ppc32 targets that don't use ppc32elf.em 2014-02-27 23:39:01 +10:30
ppc64elf.em Control powerpc64-ld provision of register save/restore 2014-02-19 14:53:50 +10:30
README Add copyright notices 2012-12-17 16:56:12 +00:00
rxelf.em 2012-11-09 Nick Clifton <nickc@redhat.com> 2012-11-09 17:00:44 +00:00
scoreelf.em ld/ 2012-11-26 23:26:35 +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 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 Remove trailing white spaces in ld 2013-01-10 20:08:03 +00:00
ticoff.em Allow ld target customiser script to force on disk scripts. 2014-01-17 10:41:49 +10:30
vanilla.em update copyright dates 2009-09-02 07:25:43 +00:00
vms.em Add support for PowerPC VLE. 2012-05-14 19:45:30 +00:00
vxworks.em PR 11107 2010-01-08 01:41:11 +00:00
xtensaelf.em bfd/ 2012-08-06 22:27:52 +00:00
z80.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00

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.