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.
26 years ago
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.
26 years ago
DJ Delorie
93b63cd3a0
* scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
Set DWARF2 sections to a VMA of zero.
26 years ago
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.
26 years ago
Kazu Hirata
1ce7de8b08
2000-11-14 Kazu Hirata <kazu@hxi.com>
* scripttempl/h8300.sc: Fix formatting.
* scripttempl/h8300h.sc: Likewise.
* scripttempl/h8300s.sc: Likewise.
26 years ago
Denis Chertykov
208d5cd0ad
* scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
26 years ago
Nick Clifton
40a633d5ca
Use ${CONSTRUCTING...} to enclose constructors and destructors.
26 years ago
Hans-Peter Nilsson
c5975a4546
* scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
for consecutive sections.
26 years ago
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.
26 years ago
Nick Clifton
3a9d486c00
Add .gnu.linkonce.wi.* to .debug_info sections.
26 years ago
Andreas Schwab
d73e9da0eb
* scripttempl/elf.sc: Fix last change to use correct comment
syntax.
26 years ago
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.
26 years ago
Nick Clifton
236d5abf99
Define __bss_size symbol to indicate the final size of .bss section.
26 years ago
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.
26 years ago
Hans-Peter Nilsson
53db15ed2a
* scripttempl/elf.sc (.init): Only do ${INIT_START} and
${INIT_END} if relocating.
(.fini): Likewise ${FINI_START} and ${FINI_END}.
26 years ago
Nick Clifton
062739d151
Support the g++ attribute init_priority in gcc 2.95.2 and later.
26 years ago
Timothy Wall
c9e769c2b1
Remove unimplemented "PAGE N:" flag from default linker script.
26 years ago
Timothy Wall
74459f0e3e
tic54x/ibmc54xdsp target for ld.
26 years ago
Alan Modra
987fd5b44e
Update list of targets supporting --gc-sections.
KEEP .eh_frame contents.
26 years ago
Nick Clifton
60bcf0fa8c
Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support
for m68hc11 and m68hc12 processors.
26 years ago
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().
26 years ago
Richard Henderson
c9637625e4
* scripttempl/elfd30v.sc: Place .gcc_except_table.
26 years ago
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.
26 years ago
Geoffrey Keating
4ab10e93d6
Correct previous misapplied patch.
26 years ago
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.
26 years ago
Alan Modra
adde6300e0
ATMEL AVR microcontroller support.
26 years ago
Ian Lance Taylor
4eee26817d
2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
* scripttempl/i386go32.sc: Move misplaced semicolons.
26 years ago
Nick Clifton
344a211f99
Add support for WinCE based toolchains.
26 years ago
Richard Henderson
eaba1dd3fb
* scripttempl/elfd10v.sc: Remove dynamic linking hooks.
Add and use memory regions.
26 years ago
Alan Modra
5b93d8bb51
Add IBM 370 support.
26 years ago
Richard Henderson
9e673ad141
* scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
27 years ago
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.
27 years ago
Nick Clifton
e68692499c
Add arm-epoc-pe specific linker script
27 years ago
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.
27 years ago
Geoffrey Keating
13d92f2c5b
* scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections
in .sdata too.
27 years ago
Nick Clifton
3c9cf3a394
Merge sections named .bss.* into .bss section. Similarly for .sbss.
27 years ago
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.
27 years ago
Jeff Law
904ecb2d78
* emulparms/elf64hppa.sh (OTHER_READONLY_SECTIONS): Put stubs before
27 years ago
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.
27 years ago
Nick Clifton
0811443ae7
Fix typo in defintion of OUTPUT_FORMAT.
27 years ago
Ian Lance Taylor
9c9ef45f16
1999-08-09 Mark Elbrecht <snowball3@bigfoot.com>
* scripttempl/i386go32.sc: Handle g++ exception sections.
27 years ago
Ian Lance Taylor
5a1bd109d4
1999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
* scripttempl/i386go32.sc: Add handling of linkonce sections.
27 years ago
Ian Lance Taylor
b4089fdd75
1999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
* emulparams/go32.sh: Remove; obsolete.
* scripttempl/go32coff.sc: Remove; obsolete.
27 years ago
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.
27 years ago
Nick Clifton
6da0974a11
Include big endian and little endian formats in OUTPUT_FORMAT directive.
27 years ago
Nick Clifton
7a2746396a
Applied patch from Felix Lee <flee@cygnus.com>:
Fix quoting problem, for bash 2.x
27 years ago
Mark Mitchell
a8e53fb060
* scripttempl/elf.sc (WRITABLE_RODATA): New variable for
controlling whether or not .rodata is in the data segment or the
text segment.
27 years ago
Richard Henderson
4305932a21
Jason Merrill <jason@yorick.cygnus.com>
* scripttempl/v850.sc: Add initp support.
27 years ago
DJ Delorie
c6c37250e9
1999-05-10 DJ Delorie <dj@cygnus.com>
* scripttempl/pe.sc: Specify the output arch, which Ian says is
the Right Thing to do.
* emultempl/pe.em: various changes to parameterize the
target-specific information.
(gld_i386pe_after_open): Detect and fix MS import libraries
by renaming the member objects (which are all named the same).
* pe-dll.c: various changes to parameterize the target-specific
information.
(generate_reloc): support relocs more generically to allow for
expansion.
(pe_exe_build_sections): new; used to add .relocs to .exes
(pe_exe_fill_sections): ditto
27 years ago
Nick Clifton
bb3596ae84
fix output format.
27 years ago