binutils-gdb/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
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
avr.sc PR 13697 2012-06-07 16:53:10 +00:00
crisaout.sc
delta68.sc
dlx.sc
elf32cr16.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
elf32cr16c.sc
elf32crx.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
elf32msp430.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
elf32xc16xl.sc
elf32xc16xs.sc
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
elf.sc ld/ 2012-06-15 15:13:41 +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
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
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 Fix spelling mistakes. 2011-06-02 13:43:24 +00:00
i386coff.sc
i386go32.sc
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
m68kcoff.sc
m88kbcs.sc
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
mipsbsd.sc
mmo.sc * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. 2011-02-10 08:18:58 +00:00
moxie.sc
nw.sc
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
psos.sc
README
riscix.sc
sh.sc
sparccoff.sc
st2000.sc
tic4xcoff.sc
tic30aout.sc
tic30coff.sc
tic54xcoff.sc
tic80coff.sc
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
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.