binutils-gdb/ld/scripttempl
Jakub Jelinek 2d20f7bf67 * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
* ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
	(exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
	* ldexp.c (exp_data_seg): New variable.
	(exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
	(fold_binary): Handle DATA_SEGMENT_ALIGN.
	(exp_fold_tree): Handle DATA_SEGMENT_END.
	Pass allocation_done when recursing instead of hardcoding
	lang_allocating_phase_enum.
	* ldexp.h (exp_data_seg): New.
	* ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
	(lang_size_sections): New.
	* ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
	* scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
	if COMMONPAGESIZE is defined.
	* emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
	* emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
	* emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
	* emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
	* emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
	libraries only.
2002-02-12 14:50:08 +00:00
..
a29k.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
aix.sc Pass argc and argv to ldemul_choose_target. 2001-12-03 23:15:28 +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
armcoff.sc Define __EH_FRAME_{BEGIN|END}__ 2001-10-20 09:56:29 +00:00
crisaout.sc * emulparams/crislinux.sh (ENTRY): Change back to _start. 2000-11-30 15:08:44 +00:00
delta68.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
ebmon29k.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
elf32avr.sc * emulparams/avr1200.sh (DATA_START): Define as 0x60. 2002-01-12 20:22:19 +00:00
elf.sc * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens. 2002-02-12 14:50:08 +00:00
elfd10v.sc Fixup checkin of wrong source 2001-03-08 02:26:19 +00:00
elfd30v.sc * scripttempl/elf.sc, scripttempl/elfd30v.sc, 2001-08-12 20:19:49 +00:00
elfi370.sc * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. 2001-11-22 09:08:05 +00:00
elfm68hc11.sc * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and 2001-11-25 17:29:27 +00:00
elfm68hc12.sc * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and 2001-11-25 17:29:27 +00:00
epocpe.sc Add arm-epoc-pe specific linker script 1999-12-02 11:49:20 +00:00
h8300.sc 2001-01-10 Kazu Hirata <kazu@hxi.com> 2001-01-10 11:42:27 +00:00
h8300h.sc 2001-01-10 Kazu Hirata <kazu@hxi.com> 2001-01-10 11:42:27 +00:00
h8300s.sc 2001-01-10 Kazu Hirata <kazu@hxi.com> 2001-01-10 11:42:27 +00:00
h8500.sc 2001-01-10 Kazu Hirata <kazu@hxi.com> 2001-01-10 18:58:36 +00:00
h8500b.sc 2001-01-10 Kazu Hirata <kazu@hxi.com> 2001-01-10 18:58:36 +00:00
h8500c.sc 2001-01-10 Kazu Hirata <kazu@hxi.com> 2001-01-10 18:58:36 +00:00
h8500m.sc 2001-01-10 Kazu Hirata <kazu@hxi.com> 2001-01-10 18:58:36 +00:00
h8500s.sc 2001-01-10 Kazu Hirata <kazu@hxi.com> 2001-01-10 18:58:36 +00:00
hppaelf.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
i386beos.sc Add .gnu.linkonce.wi.* to .debug_info sections. 2000-09-02 20:43:22 +00:00
i386coff.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
i386go32.sc Support the GCC flags '-ffunction-sections' and '-fdata-sections'. 2001-03-23 23:05:07 +00:00
i386lynx.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
i386msdos.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
i960.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
m68kaux.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
m68kcoff.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
m68klynx.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
m88kbcs.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mcorepe.sc Fix typo in defintion of OUTPUT_FORMAT. 1999-08-11 09:21:38 +00:00
mips.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mipsbsd.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mmo.sc Support on-demand global register allocation from 2002-02-01 08:24:03 +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: Add support for constructor priorities. 2002-01-16 01:48:43 +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 19990502 sourceware import 1999-05-03 07:29:11 +00:00
sa29200.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
sh.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
sparccoff.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
sparclynx.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
st2000.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tic30aout.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tic30coff.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tic54xcoff.sc Remove unimplemented "PAGE N:" flag from default linker script. 2000-06-30 12:36:38 +00:00
tic80coff.sc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
v850.sc * scripttempl/v850.sc: Add gcc_except_table sections. 2001-09-12 14:09:18 +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 In ld/ChangeLog: 2002-02-01 18:00:36 +00:00
z8000.sc Use ${CONSTRUCTING...} to enclose constructors and destructors. 2000-11-03 19:49:05 +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.