Timothy Wall
c9e769c2b1
Remove unimplemented "PAGE N:" flag from default linker script.
27 years ago
Timothy Wall
74459f0e3e
tic54x/ibmc54xdsp target for ld.
27 years ago
Alan Modra
987fd5b44e
Update list of targets supporting --gc-sections.
KEEP .eh_frame contents.
27 years ago
Nick Clifton
60bcf0fa8c
Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support
for m68hc11 and m68hc12 processors.
27 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().
27 years ago
Richard Henderson
c9637625e4
* scripttempl/elfd30v.sc: Place .gcc_except_table.
27 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.
27 years ago
Geoffrey Keating
4ab10e93d6
Correct previous misapplied patch.
27 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.
27 years ago
Alan Modra
adde6300e0
ATMEL AVR microcontroller support.
27 years ago
Ian Lance Taylor
4eee26817d
2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
* scripttempl/i386go32.sc: Move misplaced semicolons.
27 years ago
Nick Clifton
344a211f99
Add support for WinCE based toolchains.
27 years ago
Richard Henderson
eaba1dd3fb
* scripttempl/elfd10v.sc: Remove dynamic linking hooks.
Add and use memory regions.
27 years ago
Alan Modra
5b93d8bb51
Add IBM 370 support.
27 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.
28 years ago
Nick Clifton
6da0974a11
Include big endian and little endian formats in OUTPUT_FORMAT directive.
28 years ago
Nick Clifton
7a2746396a
Applied patch from Felix Lee <flee@cygnus.com>:
Fix quoting problem, for bash 2.x
28 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.
28 years ago
Richard Henderson
4305932a21
Jason Merrill <jason@yorick.cygnus.com>
* scripttempl/v850.sc: Add initp support.
28 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
28 years ago
Nick Clifton
bb3596ae84
fix output format.
28 years ago
Richard Henderson
252b5132c7
19990502 sourceware import
28 years ago
Stan Shebs
071ea11e85
Initial creation of sourceware repository
28 years ago
Nick Clifton
a21a12e39e
Remove v850e sanitization
28 years ago
Vladimir Makarov
3d26bb0e8e
1999-01-31 17:57:31 1998 Michael Meissner <meissner@cygnus.com>
* scripttempl/elfppc.sc: Add support for -fleading-underscores
switch in all linker generated symbols.
* configure.tgt (powerpc{,le}*-*-vxworks): Add as aliases for
powerpc{,le}-*-eabi.
28 years ago
Nick Clifton
393034a970
Removed fr30.sh and fr30.sc.
Added elf32fr30.sh
28 years ago
Nick Clifton
e79b7f1e01
Switch over to using generic elf script rather than an fr30 specific one.
28 years ago
Nick Clifton
f55ba3999c
Fill .init and .fini sections with NOPs
28 years ago
Nick Clifton
025ce5c6d8
Add sanitization for FR30
28 years ago
Nick Clifton
7192be38cc
Add support for FR30
28 years ago
Catherine Moore
64923bb947
* ldmain.c (main): Error if --gc-sections and
dyanmic linking.
* scripttempl/v850.sc: Add KEEP attribute to .init,
.fini, .dtors and .ctors. Add .data and .text
wildcards to support section garbage collection.
28 years ago
Nick Clifton
8d3859c765
Fix for PR 17063 - do not create a section called .call_table, instead create
sections called .call_table_data and .call_table_text.
28 years ago
Catherine Moore
c42591bfd5
remove elfarm.sc
28 years ago
Catherine Moore
4a634a0bcb
* emulparams/armelf.sh: Change SCRIPT_NAME to
elf. Change TEXT_START_ADDR to 0x8000. Define
OTHER_TEXT_SECTIONS, OTHER_BSS_SYMBOLS and
OTHER_BSS_END_SYMBOLS.
* scripttempl/elf.sc: Modify to use
OTHER_BSS_END_SYMBOLS.
* scripttempl/elfarm.sc: Remove file.
28 years ago
Catherine Moore
28278f9032
add elfarm.sc to things to keep
28 years ago
Ian Lance Taylor
63bb5e9a79
* ldgram.y: Include "ldctor.h".
(statement): Accept SORT around CONSTRUCTORS.
* ldctor.c: Include <ctype.h>.
(constructors_sorted): New global variable.
(ctor_prio, ctor_cmp): New static functions.
(ldctor_build_sets): Sort constructors if requested.
* ldctor.h (constructors_sorted): Declare.
* ldlang.c (print_statement): Print sorted CONSTRUCTORS
correctly.
* scripttempl/elf.sc: Add sort around CONSTRUCTORS.
* ld.texinfo (Output Section Keywords): Document SORT
(CONSTRUCTORS).
28 years ago
Catherine Moore
527c54a697
Thu Aug 13 12:20:39 1998 Catherine Moore <clm@cygnus.com>
* emulparams/armelf.sh: Define TEMPLATE_NAME to armelf.
* scripttempl/elfarm.sc: Include .glue_7t and .glue7
sections.
* emultempl/armelf.em: New file.
28 years ago