binutils-gdb/ld/scripttempl
H.J. Lu 3aa14d16c6 bfd/
2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

	* elf-bfd.h (struct bfd_elf_section_data): Remove indirect_relocs.
	(_bfd_elf_make_ifunc_reloc_section): Removed.
	(_bfd_elf_is_ifunc_symbol): Likewise.
	(_bfd_elf_create_static_ifunc_sections): New.

	* elflink.c (_bfd_elf_adjust_dynamic_symbol): Move STT_GNU_IFUNC
	symbol check to ...
	(elf_link_add_object_symbols): Here.
	(_bfd_elf_link_hash_hide_symbol): Don't clean plt on
	STT_GNU_IFUNC symbol.
	(elf_link_output_extsym): Call elf_backend_finish_dynamic_symbol
	if a STT_GNU_IFUNC symbol is referenced in a non-shared object.
	(IFUNC_INFIX): Removed.
	(get_ifunc_reloc_section_name): Likewise.
	(_bfd_elf_make_ifunc_reloc_section): Likewise.
	(_bfd_elf_is_ifunc_symbol): Likewise.
	(_bfd_elf_create_static_ifunc_sections): New.

ld/

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

	* scripttempl/elf.sc (PLT): Add "*(.iplt)".
	(GOT): Add "*(.igot.plt)a" and "*(.igot)".
	(GOTPLT): Add "*(.igot)".
	(__rel_iplt_start): New.
	(__rel_iplt_end): Likewise.
	(__rela_iplt_start): Likewise.
	(__rela_iplt_end): Likewise.
2009-06-01 12:53:00 +00:00
..
a29k.sc
aix.sc
alpha.sc
aout.sc
armaout.sc
armbpabi.sc
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
elf32cr16c.sc
elf32crx.sc
elf32msp430_3.sc
elf32msp430.sc
elf32sh-symbian.sc
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
elf.sc bfd/ 2009-06-01 12:53:00 +00:00
elfd10v.sc
elfd30v.sc
elfi370.sc
elfm68hc11.sc
elfm68hc12.sc
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
iq2000.sc
m68kaux.sc
m68kcoff.sc
m68klynx.sc
m88kbcs.sc
maxqcoff.sc
mcorepe.sc
mep.sc
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
pep.sc
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
vanilla.sc
w65.sc
xstormy16.sc
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.