darling-gdb/ld/scripttempl
Richard Henderson 71b012a810 * ld.h (args_type): Add gc_sections.
* ldgram.y (ldgram_had_keep, KEEP): New.
        (input_section_spec_no_keep): Rename from old input_section_spec.
        (input_section_spec): New.  Recognize KEEP.
        * ldlang.c (wild_section): Handle keep sections.
        (lang_gc_wild_section, lang_gc_wild_file, lang_gc_wild): New.
        (lang_gc_sections_1, lang_gc_sections): New.
        (lang_process): Invoke lang_gc_sections.
        (lang_add_wild): Add keep argument.  Update all callers.
        * ldlang.h (lang_wild_statement_struct): Add keep_sections.
        * ldlex.l (KEEP): Match it.
        * ldmain.c (main): Error on -r and --gc-sections.
        * lexsup.c: Add --gc-sections.

        * scripttempl/elf.sc: Merge .text.* etc sections appropriately.
        Mark startup sections with KEEP.
        * scripttempl/elfppc.sc: Likewise.

        * ld.texinfo: Update for --gc-sections and KEEP.
1998-07-02 02:52:31 +00:00
..
.Sanitize fix sanitization for gettext changes 1998-04-22 16:18:07 +00:00
a29k.sc * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
aix.sc * scripttempl/aix.sc: Move special symbols inside sections. 1995-10-26 18:12:41 +00:00
alpha.sc New files for Alpha linker. 1993-10-19 19:52:33 +00:00
aout.sc * scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use it 1996-04-15 20:53:00 +00:00
armaout.sc Bunch of changes from Richard Earnshaw for generic bi-endian ARM aout targets. 1995-05-18 22:21:18 +00:00
armcoff.sc * scripttempl/armcoff.sc: For -N or -n, don't align .data. From 1996-09-16 21:56:33 +00:00
delta68.sc Motorola Delta sysV68 support from phdm@info.ucl.ac.BE (Philippe 1994-01-14 20:43:07 +00:00
ebmon29k.sc * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
elf.sc * ldlex.l: Recognize keyword SORT. 1998-05-15 07:29:35 +00:00
elfd10v.sc * ldlex.l: Recognize keyword SORT. 1998-05-15 07:29:35 +00:00
elfd30v.sc * ldlex.l: Recognize keyword SORT. 1998-05-15 07:29:35 +00:00
elfppc.sc * ld.h (args_type): Add gc_sections. 1998-07-02 02:52:31 +00:00
go32coff.sc * Makefile.in (check): Add missing "else true" clause. 1994-11-04 00:39:49 +00:00
h8300.sc * scripttempl/h8300.sc: Set the entry point to the value of 1996-05-07 19:36:38 +00:00
h8300h.sc * scripttempl/h8300.sc: Place ".tiny" sections right 1996-05-07 21:26:58 +00:00
h8300s.sc * scripttempl/h8300s.sc: New file for H8/S. 1996-06-18 22:55:30 +00:00
h8500.sc * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
h8500b.sc Support for various sicko segmented memory models. 1994-02-04 22:57:26 +00:00
h8500c.sc Support for various sicko segmented memory models. 1994-02-04 22:57:26 +00:00
h8500m.sc Support for various sicko segmented memory models. 1994-02-04 22:57:26 +00:00
h8500s.sc Support for various sicko segmented memory models. 1994-02-04 22:57:26 +00:00
hppaelf.sc * scripttempl/hppaelf.sc (.text): Place unwind descriptors in the 1994-11-16 17:06:20 +00:00
i386coff.sc * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
i386go32.sc * Makefile.in, configure.in: Support for go32 coff. 1994-04-27 17:52:13 +00:00
i386lynx.sc * config/i386lynx.mh: New file. 1994-09-12 02:42:49 +00:00
i386msdos.sc msdos and moss code from Bryan Ford 1995-06-23 02:05:04 +00:00
i960.sc * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
m68kaux.sc Wed Jan 31 14:34:23 1996 Richard Henderson <rth@tamu.edu> 1996-01-31 19:36:20 +00:00
m68kcoff.sc * scripttempl/m68kcoff.sc: Remove regions and simplify. 1996-04-11 16:07:40 +00:00
m68klynx.sc More correct m68k LynxOS support 1993-11-12 00:37:00 +00:00
m88kbcs.sc Wed Nov 1 15:42:45 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de> 1995-11-01 20:52:10 +00:00
mips.sc * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
mipsbsd.sc * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
nw.sc * Makefile.in (ALL_EMULATIONS): Add ei386nw.o and eppcnw.o. 1994-10-14 22:57:12 +00:00
pe.sc * scripttempl/pe.sc: Only include .idata\$[0-7] in .idata when 1998-03-25 16:35:13 +00:00
ppcpe.sc Expose .edata section 1995-11-30 18:18:38 +00:00
psos.sc Wed Feb 14 16:38:36 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de> 1996-02-14 21:43:54 +00:00
README * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
riscix.sc ARM Acorn/RISCiX target and host patches from Richard Earnshaw 1994-09-05 10:53:00 +00:00
sa29200.sc * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
sh.sc Support for constructors. 1993-06-17 21:49:48 +00:00
sparccoff.sc Sparc COFF support 1993-10-29 02:39:41 +00:00
sparclynx.sc Tue Apr 26 17:20:03 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-04-27 00:31:11 +00:00
st2000.sc * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
tic30aout.sc Mon Feb 2 19:34:54 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU> 1998-02-03 00:37:20 +00:00
tic30coff.sc Mon Feb 2 19:34:54 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU> 1998-02-03 00:37:20 +00:00
tic80coff.sc Fix name of constructors/destructors 1997-05-02 19:57:12 +00:00
v850.sc Add .tbyte and .tbss sections 1996-12-30 18:57:36 +00:00
vanilla.sc * ldfile.c (ldfile_open_command): Don't try .ld extension. 1993-06-17 20:55:43 +00:00
w65.sc * configure.in (w65-*-*): New target. 1995-01-16 00:51:02 +00:00
z8000.sc Thu Jul 27 15:26:28 1995 steve chamberlain <sac@slash.cygnus.com> 1995-07-27 22:43:44 +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.