8sa1-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 * emulparams/elf64ppc.sh (DATA_ADDR): Define. 2002-09-24 04:02:03 +00:00
alpha.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
aout.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
armaout.sc Fix arm aout placement of .bss section 2001-10-11 17:28:43 +00:00
armbpabi.sc * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a 2008-02-18 14:53:44 +00:00
armcoff.sc Add iWMMXt support 2003-03-25 20:56:01 +00:00
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
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 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
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 * 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 19990502 sourceware import 1999-05-03 07:29:11 +00:00
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 Fix typo in defintion of OUTPUT_FORMAT. 1999-08-11 09:21:38 +00:00
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 19990502 sourceware import 1999-05-03 07:29:11 +00:00
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 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. 2001-11-22 09:08:05 +00:00
or32.sc Add support for OpenRISC 32-bit embedded processor 2002-01-31 17:33:08 +00:00
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 1999-09-04 Steve Chamberlain <sac@pobox.com> 1999-09-04 17:37:36 +00:00
ppcpe.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
psos.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
README 19990502 sourceware import 1999-05-03 07:29:11 +00:00
riscix.sc
sa29200.sc
sh.sc From "Anita Kulkarni" <AnitaK@kpit.com> 2002-09-25 17:06:09 +00:00
sparccoff.sc
sparclynx.sc
st2000.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
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 19990502 sourceware import 1999-05-03 07:29:11 +00:00
w65.sc Use ${CONSTRUCTING...} to enclose constructors and destructors. 2000-11-03 19:49:05 +00:00
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.