old-cross-binutils/ld/scripttempl
Alan Modra d2667025dd ld/
* ldlang.h (lang_output_section_statement_type): Add after_end field.
	(lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete.
	(section_for_dot): Declare.
	* ldlang.c (lang_size_sections_1): Correct comment.
	(current_section): Move earlier.
	(current_assign, prefer_next_section): New static vars.
	(lang_do_assignments_1): Add found_end param.  Detect _end
	assignment to set found_end.  Set os->after_end.  Set above statics.
	(lang_do_assignments): Adjust lang_do_assignments_1 call.  Init
	vars.
	(section_for_dot): New function.
	(lang_set_startof): Don't make an absolute symbol.
	(lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete.
	* ldexp.c (new_rel_from_abs): Use section_for_dot.
	* emultempl/lnk960.em (symbol_at_beginning_of): New function.
	(symbol_at_end_of): Likewise.
	(lnk960_after_allocation): Use them.
	* scripttempl/elf.sc: Precede OTHER_GOT_SYMBOLS with . = .; and
	likewise before __bss_start.

ld/testsuite/
Update far too many tests.
2012-06-15 15:13:41 +00:00
..
aix.sc 2011-11-03 Tristan Gingold <gingold@adacore.com> 2011-11-03 11:53:39 +00:00
alpha.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
alphavms.sc 2011-05-06 Tristan Gingold <gingold@adacore.com> 2011-05-06 10:44:31 +00:00
aout.sc
armaout.sc
armbpabi.sc ld/ 2012-05-24 01:04:53 +00:00
armcoff.sc * scripttempl/armcoff.sc: Revert 2010-09-22 change. 2010-09-24 04:41:12 +00:00
avr.sc PR 13697 2012-06-07 16:53:10 +00:00
crisaout.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
delta68.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
dlx.sc
elf.sc ld/ 2012-06-15 15:13:41 +00:00
elf32cr16.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
elf32cr16c.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
elf32crx.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
elf32msp430.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
elf32msp430_3.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
elf32sh-symbian.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
elf32xc16x.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
elf32xc16xl.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
elf32xc16xs.sc PR ld/6766 2009-09-13 07:19:18 +00:00
elf64hppa.sc ld/ 2012-05-24 01:04:53 +00:00
elf_chaos.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
elfd10v.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
elfd30v.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
elfi370.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
elfm68hc11.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
elfm68hc12.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
elfmicroblaze.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
elfxgate.sc Add support for Motorola XGATE embedded CPU 2012-05-03 13:12:08 +00:00
elfxtensa.sc ld/ 2012-05-24 01:04:53 +00:00
epocpe.sc Fix spelling mistakes. 2011-06-02 13:43:24 +00:00
h8300.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300h.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300hn.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300s.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300sn.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300sx.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8300sxn.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
h8500.sc
h8500b.sc
h8500c.sc
h8500m.sc
h8500s.sc
hppaelf.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
i386beos.sc Fix spelling mistakes. 2011-06-02 13:43:24 +00:00
i386coff.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
i386go32.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
i386msdos.sc
i860coff.sc
i960.sc
ia64vms.sc * configure.ac (ia64*-*-*vms*): Add support for ld. 2012-04-12 07:35:07 +00:00
ip2k.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
iq2000.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
m68kaux.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
m68kcoff.sc
m88kbcs.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
mcorepe.sc Fix spelling mistakes. 2011-06-02 13:43:24 +00:00
mep.sc ld/ 2012-05-24 01:04:53 +00:00
mips.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
mipsbsd.sc
mmo.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
moxie.sc Add new binutils target: moxie 2009-04-16 15:39:48 +00:00
nw.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
or32.sc
pe.sc * scripttempl/pe.sc (.text): Add support for 2011-09-27 15:59:55 +00:00
pep.sc * scripttempl/pe.sc (.text): Add support for 2011-09-27 15:59:55 +00:00
pj.sc
ppcpe.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
psos.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
README
riscix.sc
sh.sc
sparccoff.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
st2000.sc
tic4xcoff.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
tic30aout.sc
tic30coff.sc
tic54xcoff.sc Revert 2009-09-28 changes. 2009-10-10 04:34:39 +00:00
tic80coff.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00
v850.sc * scripttempl/v850.sc (_heap_start): Provide. 2011-05-27 10:47:46 +00:00
vanilla.sc
w65.sc
xstormy16.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
z80.sc Add support for the Z80 processor family 2005-10-25 17:40:19 +00:00
z8000.sc Only provide ENTRY on final link. 2009-09-09 11:59:14 +00:00

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.