old-cross-binutils/ld/scripttempl
H.J. Lu 2a81c24ab1 bfd/
2009-06-06  H.J. Lu  <hongjiu.lu@intel.com>

	* elf32-i386.c (elf_i386_link_hash_table): Add irelifunc.
	(elf_i386_link_hash_table_create): Initialize irelifunc.
	(elf_i386_check_relocs): Updated.  Set up irelifunc for
	shared objects.
	(elf_i386_allocate_dynrelocs): Use irelifunc for dynamic
	relocation for non-GOT reference of STT_GNU_IFUNC symbol in
	shared objects.
	(elf_i386_relocate_section): Likewise.

	* elf64-x86-64.c (elf64_x86_64_link_hash_table): Add irelifunc.
	(elf64_x86_64_link_hash_table_create): Initialize irelifunc.
	(elf64_x86_64_check_relocs): Updated.  Set up irelifunc for
	shared objects.
	(elf64_x86_64_allocate_dynrelocs): Use irelifunc for dynamic
	relocation for non-GOT reference of STT_GNU_IFUNC symbol in
	shared objects.
	(elf64_x86_64_relocate_section): Likewise.

	* elf-bfd.h (_bfd_elf_create_static_ifunc_sections): Renamed to
	...
	(_bfd_elf_create_ifunc_sections): This.

	* elflink.c (_bfd_elf_create_static_ifunc_sections): Renamd to
	...
	(_bfd_elf_create_ifunc_sections): This.  Create .rel[a].ifunc
	for shared objects.

ld/

2009-06-06  H.J. Lu  <hongjiu.lu@intel.com>

	* scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
2009-06-06 22:39:25 +00:00
..
a29k.sc
aix.sc
alpha.sc
aout.sc
armaout.sc
armbpabi.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
armcoff.sc
avr.sc * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN. 2009-05-05 11:28:36 +00:00
crisaout.sc * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will 2006-08-28 01:52:56 +00:00
delta68.sc
dlx.sc
ebmon29k.sc
elf.sc bfd/ 2009-06-06 22:39:25 +00:00
elf32cr16.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
elf32cr16c.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
elf32crx.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
elf32msp430.sc Apply Dmitry Diky's patches to add relaxation to msp430. 2004-08-25 12:54:15 +00:00
elf32msp430_3.sc
elf32sh-symbian.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
elf32xc16x.sc Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
elf32xc16xl.sc Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
elf32xc16xs.sc Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
elf64hppa.sc * configure.tgt: Only use elf64hppa target emulation for hpux. 2009-03-01 22:10:36 +00:00
elf_chaos.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
elfd10v.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
elfd30v.sc * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will 2006-08-28 01:52:56 +00:00
elfi370.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
elfm68hc11.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
elfm68hc12.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
elfxtensa.sc * emulparams/elf32xtensa.sh (NO_REL_RELOCS): Set. 2008-11-03 18:52:52 +00:00
epocpe.sc
h8300.sc
h8300h.sc
h8300hn.sc
h8300s.sc
h8300sn.sc
h8300sx.sc
h8300sxn.sc
h8500.sc
h8500b.sc
h8500c.sc
h8500m.sc
h8500s.sc
hppaelf.sc
i386beos.sc
i386coff.sc
i386go32.sc
i386msdos.sc
i860coff.sc
i960.sc
ip2k.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
iq2000.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
m68kaux.sc
m68kcoff.sc
m68klynx.sc
m88kbcs.sc
maxqcoff.sc Add support fpr MAXQ processor 2004-11-08 13:17:43 +00:00
mcorepe.sc
mep.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
mips.sc [ bfd/ChangeLog ] 2004-04-21 20:52:31 +00:00
mipsbsd.sc
mmo.sc * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will 2006-08-28 01:52:56 +00:00
moxie.sc Add new binutils target: moxie 2009-04-16 15:39:48 +00:00
nw.sc
or32.sc
pe.sc PR linker/4844 2007-10-01 09:54:58 +00:00
pep.sc [patch]: ctor/dtor section must start at alignment of 8 for x86_64-pc-mingw32. 2008-04-18 09:06:22 +00:00
pj.sc
ppcpe.sc
psos.sc
README
riscix.sc
sa29200.sc
sh.sc
sparccoff.sc
sparclynx.sc
st2000.sc
tic4xcoff.sc
tic30aout.sc
tic30coff.sc
tic54xcoff.sc
tic80coff.sc
v850.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
vanilla.sc
w65.sc
xstormy16.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
z80.sc Add support for the Z80 processor family 2005-10-25 17:40:19 +00:00
z8000.sc

The files in this directory are linker script templates.
genscripts.sh sets some shell variables, then sources
EMULATION.sc, to generate EMULATION.{x,xr,xu,xn,xbn} -- the script
files for default, -r, -Ur, -n, -N.