binutils-gdb/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
delta68.sc
dlx.sc
ebmon29k.sc
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_3.sc
elf32msp430.sc
elf32sh-symbian.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
elf32xc16x.sc
elf32xc16xl.sc
elf32xc16xs.sc
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
elf.sc bfd/ 2009-06-06 22:39:25 +00:00
elfd10v.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
elfd30v.sc
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
mcorepe.sc
mep.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
mips.sc
mipsbsd.sc
mmo.sc
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
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.