binutils-gdb/ld/scripttempl
Alan Modra 046183de0e bfd/
* elf32-ppc.c (struct elf_linker_section): Replace sym_val field
	with sym.
	(ppc_elf_relocate_section): Adjust for above.
	(create_sdata_sym): New function.
	(ppc_elf_create_linker_section): Call it.
	(ppc_elf_check_relocs): Correct has_sda_refs and non_got_refs.
	Create sdata syms for all SDA relocs.
	(ppc_elf_adjust_dynamic_symbol): Don't special case _SDA_BASE_
	and _SDA2_BASE_.
	(ppc_elf_set_sdata_syms): Delete.
	* elflink.c (bfd_elf_size_dynamic_sections): Don't create DT_INIT
	and DT_FINI tags unless associated section has input.
	(bfd_elf_set_symbol, _bfd_elf_provide_symbol): Delete.
	(_bfd_elf_provide_section_bound_symbols): Delete.
	* bfd-in.h (_bfd_elf_provide_symbol): Delete.
	(_bfd_elf_provide_section_bound_symbols): Delete.
	* bfd-in2.h: Regenerate.
ld/
	* ldemul.c (ldemul_do_assignments, do_assignments_default): Delete.
	* ldemul.h (ldemul_do_assignments, do_assignments_default): Delete.
	(struct ld_emulation_xfer_struct): Remove do_assignments field.
	* ldlang.c (lang_do_assignments): Don't call ldemul_do_assignments.
	* emulparams/elf32ppc.sh (SDATA_START_SYMBOLS): New.
	(SDATA2_START_SYMBOLS, SBSS_START_SYMBOLS, SBSS_END_SYMBOLS): New.
	* emultempl/aix.em (ld_*_emulation): Delete do_assignments init.
	* emultempl/armcoff.em: Likewise.
	* emultempl/beos.em: Likewise.
	* emultempl/generic.em: Likewise.
	* emultempl/gld960.em: Likewise.
	* emultempl/gld960c.em: Likewise.
	* emultempl/linux.em: Likewise.
	* emultempl/lnk960.em: Likewise.
	* emultempl/m68kcoff.em: Likewise.
	* emultempl/pe.em: Likewise.
	* emultempl/sunos.em: Likewise.
	* emultempl/ticoff.em: Likewise.
	* emultempl/vanilla.em: Likewise.
	* emultempl/elf32.em: Likewise.
	(gld*_provide_bound_symbols): Delete.
	(gld*_provide_init_fini_syms): Delete.
	(gld*_before_allocation): Don't call ldemul_do_assignments.
	* emultempl/ppc32elf.em (ppc_do_assignments): Delete.
	(LDEMUL_DO_ASSIGNMENTS): Delete.
	* scripttempl/elf.sc: Provide init/fini syms.  Add SBSS_START_SYMBOLS,
	SBSS_END_SYMBOLS, SDATA2_START_SYMBOLS.
2005-08-04 06:22:14 +00:00
..
README
a29k.sc
aix.sc * emulparams/elf64ppc.sh (DATA_ADDR): Define. 2002-09-24 04:02:03 +00:00
alpha.sc
aout.sc
armaout.sc
armbpabi.sc * ldlang.c (exp_init_os): Handle etree_provide. 2005-08-03 05:09:49 +00:00
armcoff.sc Add iWMMXt support 2003-03-25 20:56:01 +00:00
avr.sc * scripttempl/avr.sc: Do not set LMA for "eeprom" section. 2004-05-08 21:52:56 +00:00
crisaout.sc * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and 2003-04-14 13:03:17 +00:00
delta68.sc
dlx.sc Add DLX target 2002-05-28 14:08:47 +00:00
ebmon29k.sc
elf.sc bfd/ 2005-08-04 06:22:14 +00:00
elf32cr16c.sc Add (linker) support for CR16C processor 2004-03-30 14:04:32 +00:00
elf32crx.sc Add KEEP for certain section's *personality* 2004-09-16 16:27:00 +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 Add initX, finiX, ctors, dtors sections to respect C++ constructor/destructor. 2003-04-09 11:07:51 +00:00
elf32sh-symbian.sc * ldlang.c (exp_init_os): Handle etree_provide. 2005-08-03 05:09:49 +00:00
elf_chaos.sc * ldlang.c (exp_init_os): Handle etree_provide. 2005-08-03 05:09:49 +00:00
elfd10v.sc * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and 2003-04-14 13:03:17 +00:00
elfd30v.sc * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and 2003-04-14 13:03:17 +00:00
elfi370.sc * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. 2001-11-22 09:08:05 +00:00
elfm68hc11.sc * scripttempl/elfm68hc12.sc: Add gcc_except_table. 2003-07-29 20:17:17 +00:00
elfm68hc12.sc * scripttempl/elfm68hc12.sc: Align text, rodata and data section 2004-08-01 20:04:22 +00:00
elfxtensa.sc * ldlang.c (exp_init_os): Handle etree_provide. 2005-08-03 05:09:49 +00:00
epocpe.sc
h8300.sc Add support for h8300hn and h8300sn 2003-04-24 12:36:08 +00:00
h8300h.sc
h8300hn.sc oops - omitted from previous delta 2003-04-24 15:25:24 +00:00
h8300s.sc
h8300sn.sc oops - omitted from previous delta 2003-04-24 15:25:24 +00:00
h8300sx.sc 2003-06-03 Michael Snyder <msnyder@redhat.com> 2003-06-03 21:43:52 +00:00
h8300sxn.sc * scripttempl/h8300sxn.sc: New file. 2003-06-10 08:31:04 +00:00
h8500.sc
h8500b.sc
h8500c.sc
h8500m.sc
h8500s.sc
hppaelf.sc
i386beos.sc
i386coff.sc
i386go32.sc * scripttempl/i386go32.sc: Handle bss unique sections. 2002-09-23 11:36:15 +00:00
i386msdos.sc
i860coff.sc 2003-08-04 Christian Groessler <chris@groessler.org> 2003-08-06 02:19:05 +00:00
i960.sc
ip2k.sc Add IP2k support to BFD and LD 2002-07-17 14:15:52 +00:00
iq2000.sc * ldlang.c (exp_init_os): Handle etree_provide. 2005-08-03 05:09:49 +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
mips.sc [ bfd/ChangeLog ] 2004-04-21 20:52:31 +00:00
mipsbsd.sc
mmo.sc * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker 2003-10-18 15:49:10 +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 * scripttempl/pe.sc (.data): Add .jcr subsection. 2004-11-30 23:54:53 +00:00
pj.sc
ppcpe.sc
psos.sc
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
tic4xcoff.sc Namespace cleanup for the tic4x target. Replace s/c4x/tic4x/ and s/c3x/tic3x/. 2003 copyright update 2003-04-04 08:15:15 +00:00
tic30aout.sc
tic30coff.sc
tic54xcoff.sc
tic80coff.sc
v850.sc Add EXTERN references to __ctbpm __gp and __ep. 2002-09-02 17:03:30 +00:00
vanilla.sc
w65.sc
xstormy16.sc * ldlang.c (exp_init_os): Handle etree_provide. 2005-08-03 05:09:49 +00:00
z8000.sc

README

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.