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
aix.sc Pass argc and argv to ldemul_choose_target. 2001-12-03 23:15:28 +00:00
alpha.sc
aout.sc
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
ebmon29k.sc
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
i386beos.sc Add .gnu.linkonce.wi.* to .debug_info sections. 2000-09-02 20:43:22 +00:00
i386coff.sc
i386go32.sc Support the GCC flags '-ffunction-sections' and '-fdata-sections'. 2001-03-23 23:05:07 +00:00
i386lynx.sc
i386msdos.sc
i960.sc
m68kaux.sc
m68kcoff.sc
m68klynx.sc
m88kbcs.sc
mcorepe.sc Fix typo in defintion of OUTPUT_FORMAT. 1999-08-11 09:21:38 +00:00
mips.sc
mipsbsd.sc
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
psos.sc
README
riscix.sc
sa29200.sc
sh.sc
sparccoff.sc
sparclynx.sc
st2000.sc
tic30aout.sc
tic30coff.sc
tic54xcoff.sc Remove unimplemented "PAGE N:" flag from default linker script. 2000-06-30 12:36:38 +00:00
tic80coff.sc
v850.sc * scripttempl/v850.sc: Add gcc_except_table sections. 2001-09-12 14:09:18 +00:00
vanilla.sc
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.