Nick Clifton
87748b3227
Add support for arm-vxworks target
2001-04-27 17:12:18 +00:00
Nick Clifton
c20ec07b9a
Support the GCC flags '-ffunction-sections' and '-fdata-sections'.
...
Set the VMA of STABS sections to zero.
2001-03-23 23:05:07 +00:00
Michael Meissner
f9faad58a2
Fixup checkin of wrong source
2001-03-08 02:26:19 +00:00
Michael Meissner
788fca5a32
Add support for -fdata-sections
2001-03-08 02:20:25 +00:00
Kazu Hirata
69f069696b
2001-01-10 Kazu Hirata <kazu@hxi.com>
...
* scripttempl/h8500.sc: Fix formatting.
* scripttempl/h8500b.sc: Likewise.
* scripttempl/h8500c.sc: Likewise.
* scripttempl/h8500m.sc: Likewise.
* scripttempl/h8500s.sc: Likewise.
2001-01-10 18:58:36 +00:00
Kazu Hirata
60c6797e42
2001-01-10 Kazu Hirata <kazu@hxi.com>
...
* scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
* scripttempl/h8300h.sc: Fix formatting.
* scripttempl/h8300s.sc: Likewise.
2001-01-10 11:42:27 +00:00
DJ Delorie
93b63cd3a0
* scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
...
Set DWARF2 sections to a VMA of zero.
2000-12-06 16:39:51 +00:00
Hans-Peter Nilsson
8c8998585a
* emulparams/crislinux.sh (ENTRY): Change back to _start.
...
(TEXT_START_SYMBOLS): Remove conditional setting of __start.
* scripttempl/crisaout.sc: Change all RELOCATING not related to
merging non-a.out sections into CONSTRUCTING.
2000-11-30 15:08:44 +00:00
Kazu Hirata
1ce7de8b08
2000-11-14 Kazu Hirata <kazu@hxi.com>
...
* scripttempl/h8300.sc: Fix formatting.
* scripttempl/h8300h.sc: Likewise.
* scripttempl/h8300s.sc: Likewise.
2000-11-14 19:17:53 +00:00
Denis Chertykov
208d5cd0ad
* scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
2000-11-13 22:26:38 +00:00
Nick Clifton
40a633d5ca
Use ${CONSTRUCTING...} to enclose constructors and destructors.
2000-11-03 19:49:05 +00:00
Hans-Peter Nilsson
c5975a4546
* scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
...
for consecutive sections.
2000-10-18 13:10:12 +00:00
Hans-Peter Nilsson
24dd9f7582
* scripttempl/crisaout.sc (ENTRY): Now __start.
...
(.text): Add default setting for __start.
Remove CONSTRUCTORS handling.
(/DISCARD/): Add .gnu.warning.*.
* emulparams/crislinux.sh (ENTRY): Now __start.
(TEXT_START_SYMBOLS): New; provide __Stext and __start default.
* emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
(ENTRY): Now __start.
(INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
(EXECUTABLE_SYMBOLS): Add default setting for __start.
2000-09-29 19:03:57 +00:00
Nick Clifton
3a9d486c00
Add .gnu.linkonce.wi.* to .debug_info sections.
2000-09-02 20:43:22 +00:00
Andreas Schwab
d73e9da0eb
* scripttempl/elf.sc: Fix last change to use correct comment
...
syntax.
2000-08-14 08:59:40 +00:00
Geoffrey Keating
9ac4db9c1c
* scripttempl/elf.sc: Add a comment giving the correspondence
...
between sections, per-datum sections, and linkonce sections. Make
the comment true even for .bss, .sdata, .sdata2, .sbss, and
.sbss2.
2000-08-10 23:43:57 +00:00
Nick Clifton
236d5abf99
Define __bss_size symbol to indicate the final size of .bss section.
2000-08-08 22:04:32 +00:00
Hans-Peter Nilsson
9d06555c53
* Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
...
ecrislinux.o.
(ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
Regenerate dependencies.
* Makefile.in: Rebuild.
* configure.tgt (cris-*-*): New target.
* emulparams/crisaout.sh, emulparams/criself.sh,
emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
* po/POTFILES.in, po/ld.pot: Regenerate.
2000-07-20 17:16:06 +00:00
Hans-Peter Nilsson
53db15ed2a
* scripttempl/elf.sc (.init): Only do ${INIT_START} and
...
${INIT_END} if relocating.
(.fini): Likewise ${FINI_START} and ${FINI_END}.
2000-07-17 22:41:08 +00:00
Nick Clifton
062739d151
Support the g++ attribute init_priority in gcc 2.95.2 and later.
2000-07-12 16:41:29 +00:00
Timothy Wall
c9e769c2b1
Remove unimplemented "PAGE N:" flag from default linker script.
2000-06-30 12:36:38 +00:00
Timothy Wall
74459f0e3e
tic54x/ibmc54xdsp target for ld.
2000-06-20 13:29:07 +00:00
Alan Modra
987fd5b44e
Update list of targets supporting --gc-sections.
...
KEEP .eh_frame contents.
2000-06-19 02:05:53 +00:00
Nick Clifton
60bcf0fa8c
Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support
...
for m68hc11 and m68hc12 processors.
2000-06-19 01:22:44 +00:00
Denis Chertykov
2f0b56c07d
* emulparams/avr1200.sh (STACK): Define as 0.
...
* emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
* emulparams/avr4433.sh (STACK): Likewise.
* emulparams/avr44x4.sh (STACK): Likewise.
* emulparams/avr85xx.sh (STACK): Likewise.
* emulparams/avrmega103.sh (STACK): Likewise.
* emulparams/avrmega161.sh (STACK): Likewise.
* emulparams/avrmega603.sh (STACK): Likewise.
* scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
(__stack): Define from ${STACK} for main().
2000-05-27 15:36:58 +00:00
Richard Henderson
c9637625e4
* scripttempl/elfd30v.sc: Place .gcc_except_table.
2000-04-21 17:29:15 +00:00
Geoffrey Keating
bdbe570575
* scripttempl/elfppc.sc: Remove.
...
* emulparams/elf32ppc.sh: Use elf.sc.
* emulparams/elf32lppc.sh: Use elf.sc.
* emulparams/elf32ppclinux.sh: Use elf.sc.
* emulparams/elf32ppcsim.sh: New file.
* emulparams/elf32lppcsim.sh: New file.
* Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
(ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
* Makefile.in: Regenerate.
* configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
2000-04-14 21:18:23 +00:00
Geoffrey Keating
4ab10e93d6
Correct previous misapplied patch.
2000-04-13 23:38:46 +00:00
Geoffrey Keating
6c86c54107
* scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
...
Add new BSS_PLT variable for when .plt need not be contained in
the file. Move _etext so that it is also after .fini, and provide
both etext and _etext with a leading underscore. Mark the start
and end of .sbss.
2000-04-13 23:32:48 +00:00
Alan Modra
adde6300e0
ATMEL AVR microcontroller support.
2000-03-27 08:39:14 +00:00
Ian Lance Taylor
4eee26817d
2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
...
* scripttempl/i386go32.sc: Move misplaced semicolons.
2000-02-28 03:55:16 +00:00
Nick Clifton
344a211f99
Add support for WinCE based toolchains.
2000-02-24 17:53:12 +00:00
Richard Henderson
eaba1dd3fb
* scripttempl/elfd10v.sc: Remove dynamic linking hooks.
...
Add and use memory regions.
2000-02-23 23:38:47 +00:00
Alan Modra
5b93d8bb51
Add IBM 370 support.
2000-02-23 13:52:23 +00:00
Richard Henderson
9e673ad141
* scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
2000-02-16 19:07:43 +00:00
Catherine Moore
18625d5459
* ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
...
(name_list): New.
* ld.texinfo (EXCLUDE_FILE): Update documentation.
* ldgram.y (wildcard_spec): Support a list of excluded_files.
(exclude_name_list): New.
ldlang.c (walk_wild_section): Support list of excluded files.
(print_wild_statement): Likewise.
(lang_add_wild): Likewise.
* ldlang.h (lang_wild_statement_type): Likewise.
* scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
2000-01-05 14:12:23 +00:00
Nick Clifton
e68692499c
Add arm-epoc-pe specific linker script
1999-12-02 11:49:20 +00:00
Geoffrey Keating
cfd0966cb5
* scripttempl/elf.sc (.rel.sdata): Combine all the sdata relocs
...
being .rel.sdata, .rel.sdata.*, .rel.gnu.linkonce.s*.
(.rela.sdata): Likewise for .rela.sdata.* and .rela.gnu.linkonce.s*.
(.rel.sbss): Make like .rel.bss.
(.rela.sbss): Make like .rel.bss.
(.sdata): Don't include .gnu.linkonce.s.* or .sdata.* when
ld -r.
(.sbss): Do the same things as for .bss: include SDATA_START_SYMBOLS,
.dynsbss.
1999-10-07 02:19:45 +00:00
Geoffrey Keating
13d92f2c5b
* scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections
...
in .sdata too.
1999-09-28 04:16:51 +00:00
Nick Clifton
3c9cf3a394
Merge sections named .bss.* into .bss section. Similarly for .sbss.
1999-09-26 09:37:45 +00:00
Ian Lance Taylor
be4514d38d
1999-09-12 Donn Terry <donn@interix.com>
...
* scripttempl/pe.sc: Use ${ENTRY} rather than _mainCRTStartup.
Move .bss section after .rdata. Move .reloc section after .rsrc.
1999-09-12 16:48:02 +00:00
Jeff Law
904ecb2d78
* emulparms/elf64hppa.sh (OTHER_READONLY_SECTIONS): Put stubs before
...
unwinders so that they are closer to the text section.
(OTHER_BSS_SECTIONS): Define.
(EXECUTABLE_SYMBOLS): Provide __SYSTEM_ID and _FPU_STATUS.
(INIT_START, INIT_END): Define.
(FINI_START, FINI_END): Define.
* scripttempl/elf.sc: Add support for INIT_START, INIT_END,
FINI_START, FINI_END and OTHER_BSS_SECTIONS.
1999-09-10 06:30:37 +00:00
Ian Lance Taylor
c6c8c6dc7a
1999-09-04 Steve Chamberlain <sac@pobox.com>
...
* configure.tgt (pjl-*-*, pj-*-*): New targets.
* emulparams/pjelf.sh: New file.
* emulparams/pjlelf.sh: New file.
* scripttempl/pj.sc: New file.
* Makefile.am (ALL_EMULATIONS): Add epjelf.o and epjlelf.o.
(epjelf.o, epjlelf.o): New targets.
* Makefile.in: Rebuild.
1999-09-04 17:37:36 +00:00
Nick Clifton
0811443ae7
Fix typo in defintion of OUTPUT_FORMAT.
1999-08-11 09:21:38 +00:00
Ian Lance Taylor
9c9ef45f16
1999-08-09 Mark Elbrecht <snowball3@bigfoot.com>
...
* scripttempl/i386go32.sc: Handle g++ exception sections.
1999-08-10 03:07:46 +00:00
Ian Lance Taylor
5a1bd109d4
1999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
...
* scripttempl/i386go32.sc: Add handling of linkonce sections.
1999-07-22 01:42:27 +00:00
Ian Lance Taylor
b4089fdd75
1999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
...
* emulparams/go32.sh: Remove; obsolete.
* scripttempl/go32coff.sc: Remove; obsolete.
1999-07-22 01:25:10 +00:00
Richard Henderson
9e4141bc7b
* scripttempl/elf.sc: Re-order .rel[a].foo outputs to the
...
same order seen for the main sections. Add
OTHER_READONLY_RELOC_SECTIONS and OTHER_GOT_RELOC_SECTIONS.
1999-07-14 16:45:54 +00:00
Nick Clifton
6da0974a11
Include big endian and little endian formats in OUTPUT_FORMAT directive.
1999-07-09 08:12:48 +00:00
Nick Clifton
7a2746396a
Applied patch from Felix Lee <flee@cygnus.com>:
...
Fix quoting problem, for bash 2.x
1999-07-09 03:27:25 +00:00