aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
AgeCommit message (Collapse)AuthorFilesLines
1995-09-28 * lexsup.c (parse_args): Handle -assert.Ian Lance Taylor1-5/+9
* emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Define. * emultempl/sunos.em (gld${EMULATION_NAME}_get_script): Use the shared library script when appropriate. * scripttempl/aout.sc: If CREATE_SHLIB is set, start the .text section at SIZEOF_HEADERS.
1995-09-28 * Makefile.in (earmcoff.c): Build.David Edelsohn2-0/+38
* configure.tgt (arm-*-coff): New target * emulparms/armcoff.sh: New file. * scripttempl/armcoff.sc: New file.
1995-09-21Locate __bss_start at the real start of bss.Michael Meissner1-3/+9
1995-08-17Thu Aug 17 13:35:49 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain3-111/+3
* emultempl/{armpe.sc, i386pe.sc}: Deleted. * emultempl/pe.sc: New file performs generic PE support and sorts archive members. * emulparams/{armpe.sh,i386pe.sh}: Use new file. * scripttempl/{armpe.sc, i386pe.sc}: Deleted * scripttempl/pe.sc: New. * Makefile.in: Use new files. b
1995-08-16 * scripttempl/armpe.sc: Always start code at 0x401000, evenSteve Chamberlain1-1/+7
1995-08-16Wed Aug 16 11:38:59 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-1/+1
* scripttempl/armpe.sc: Always start code at 0x401000, even if -r. * ldwrite.c (strdup): New extern declaration. * ldgram.y (atype): New rule to clarify type parsing. * ldlang.c (init_os): Remove commented out code. (lang_size_sections): Set SEC_ALLOC and SEC_LOAD bits unless told not to by the link script.
1995-07-27Thu Jul 27 15:26:28 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain3-7/+9
* scripttempl/i386pe.sc: Cope with constructors. * scripttempl/z8ksim.sc: Deleted. * scripttempl/z8000.sc: Resurrected as this, but can handle z8001 and z8002 formats. * emulparams/z8ksim.sh: Deleted. * emulparams/{z8001.sh, z8002.sh}: New files. * config/z8ksim.mt: Deleted * config/z8k-coff.mt: New, generates both emulations.
1995-07-22Add R_PPC_SDAREL relocation.Michael Meissner1-4/+5
1995-06-29Wed Jun 28 17:11:25 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-50/+50
* ldmain.c (main): Always initialize PE info in link_info. * lexsup.c (OPTION_BASE_FILE): New option. (parse_args): Handle new option. * emulparams/armpe.sh: Output pei. * emultempl/i386pe.em: Add newline to end. * scripttempl/armpe.sc: Change output and quote the $s. * scripttempl/i386pe.sc: Change output and quote the $s.
1995-06-23msdos and moss code from Bryan FordKen Raeburn2-0/+41
1995-06-22Add .fixup sectionMichael Meissner1-1/+4
1995-06-15 * scripttempl/armpe.sc: Add constructor support.Steve Chamberlain1-5/+7
1995-06-08 * emulparams/armpe.sh, scriptempl/armpe.sc: Add end and stack.Steve Chamberlain1-5/+9
1995-05-24 Add support for ARM-PE.Steve Chamberlain2-0/+96
* Makefile.in (ALL_EMULATIONS): Add armpe.o * configure.in: Recognize armpe. * config/arm-pe.mt: New file. * emulparams/armpe.sh: New file. * scripttempl/armpe.sc: New file.
1995-05-18Bunch of changes from Richard Earnshaw for generic bi-endian ARM aout targets.Ken Raeburn2-0/+36
Details in change logs.
1995-05-12Fri May 12 11:03:55 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-0/+96
Tom Griest <griest@cs.yale.edu> Initial support for PE executables (eg NT, win32) * Makefile.in (configure.in, ei386pe): Add support. * ldmain.c (main): Initialize PE argument info. * ldwrite.c (print_file_stuff): Don't print out .drectve and .debug section info. * lexsup.c (set_subsystem, set_stack_heap, OPTION_HEAP, OPTION_SUBSYSTEM, parse_argsm set_subsystem, set_stack_heap): Handle new arguments. * config/i386-pe.mt, emultempl/i386pe.em, scripttempl/i386pe.sc: New files
1995-03-16Provide eabi C++ static constructor/destructor support.Michael Meissner1-3/+13
1995-02-17Add support for .got1 and .got2 sections; Offset _GLOBAL_OFFSET_TABLE_ by ↵Michael Meissner1-7/+16
32768 from GOT start.
1995-02-09fix commentsIan Lance Taylor1-5/+9
1995-01-26Add embedded PowerPC ELF support.Michael Meissner2-0/+138
1995-01-16 * configure.in (w65-*-*): New target.Steve Chamberlain2-0/+59
* Makefile.in: Update. * scripttempl/w65.sc: New. * config/coff-w65.mt: New.
1994-12-06Switch r3 to scratch register, r0 to stack register.Michael Tiemann1-3/+1
Other misc changes before beta shipment to customer.
1994-11-26Add changes from customer since last work.Michael Tiemann1-44/+22
1994-11-25Enable ld to build for RCE. This is not tested yet!Michael Tiemann2-0/+61
1994-11-16 * scripttempl/hppaelf.sc (.text): Place unwind descriptors in theJeff Law1-3/+3
text segment.
1994-11-15keep riscix, pc532mach filesKen Raeburn1-0/+1
1994-11-08Tue Nov 8 17:50:43 1994 Eric Youngdale (eric@aib.com)Ian Lance Taylor1-10/+30
* scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and .rela.fini to the list of .rel* sections.
1994-11-04* Makefile.in (check): Add missing "else true" clause.Ken Raeburn1-6/+8
* emulparams/vax.sh (OUTPUT_FORMAT): Use "a.out". * scripttempl/go32coff.sc: Changes from DJ Delorie: Change default entry point to "start". Align at end of each section to 0x200. Start .text section 0x1000 later. Add _etext, _edata, _end symbols.
1994-10-14* Makefile.in (ALL_EMULATIONS): Add ei386nw.o and eppcnw.o.J.T. Conklin2-0/+122
(ei386nw.c, eppcnw.c): New targets. * config/{i386,ppc}-nw.mt, emulparams/{i386,ppc}nw.sh, scripttmpl/nw.sc: New files, for i386 and powerpc netware. * configure.in: Changed netware ld_target name to be {i386,ppc}-nw instead of {i386,ppc}-elf. * configure.in (sparc*-*-netware): Removed. There is no such thing anymore.
1994-09-12 * config/i386lynx.mh: New file.Ian Lance Taylor1-2/+2
* scripttempl/i386lynx.sc: Don't put .ctors and .dtors in .text unless CONSTRUCTING.
1994-09-07 * scripttempl/m68kcoff.sc: Put .bss in data segment.Ian Lance Taylor1-2/+2
* scripttempl/h8300.sc: Change .stab and .stabstr to use a VMA of 0, and to only be marked as NOLOAD if relocating. * scripttempl/h8500.sc, scripttempl/h8500b.sc: Likewise. * scripttempl/h8500c.sc, scripttempl/h8500m.sc: Likewise. * scripttempl/h8500s.sc, scripttempl/i386coff.sc: Likewise. * scripttempl/i386go32.sc, scripttempl/i386lynx.sc: Likewise. * scripttempl/m68kcoff.sc, scripttempl/m68klynx.sc: Likewise. * scripttempl/sh.sc, scripttempl/sparccoff.sc: Likewise. * scripttempl/sparclynx.sc: Likewise.
1994-09-05ARM Acorn/RISCiX target and host patches from Richard EarnshawKen Raeburn1-0/+35
1994-07-22 * scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end.Ian Lance Taylor1-3/+16
Add a new script operator, PROVIDE, to define a symbol only if it is needed. * ldgram.y (PROVIDE): New token. (assignment): Accept PROVIDE. * ldlex.l (PROVIDE): New token. * ldexp.h (node_type): Add etree_provide to node_class enum. (exp_provide): Declare. * ldexp.c (exp_fold_tree): Handle etree_provide. (exp_provide): New function. (exp_print_tree): Handle etree_provide. * ld.texinfo: Document PROVIDE.
1994-06-22 * scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside anIan Lance Taylor1-1/+1
ALIGN.
1994-06-15 * scripttempl/aout.sc: Define __etext and __edata to go along withIan Lance Taylor1-0/+2
_etext and _edata.
1994-06-02 Add support for SunOS shared libraries.Ian Lance Taylor1-0/+44
* aout.sc: Don't define __DYNAMIC here. Add new sections used by shared library support code. * emultempl/sunos.em: New file. * emulparams/sun4.sh (TEMPLATE_NAME): Define as sunos. * Makefile.in (esun4.c): Depend upon sunos.em, not generic.em.
1994-05-27changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs)Ken Raeburn1-21/+8
1994-05-19 Add support for ELF shared libraries.Ian Lance Taylor1-37/+39
* ld.h (ld_config_type): Add field dynamic_link. * ldmain.c (main): Initialize config.dynamic_link to false. Warn on attempts to use -r with -relax, -call_shared or -s. * lexsup.c (longopts): Separate OPTION_CALL_SHARED from OPTION_NON_SHARED. Add OPTION_IGNORE. Adjust macro values accordingly. Add "dy" and "non_shared" options. Change "Qy" to OPTION_IGNORE for now. Handle OPTION_CALL_SHARED and OPTION_NON_SHARED by setting dynamic_link field accordingly. Handle OPTION_IGNORE by ignoring it. Clear dynamic_link field for -r and -Ur. * ldfile.c (ldfile_open_file): If config.dynamic_link is true, try opening a file with a .so extension first. * emultempl/elf32.em: New file. * emulparams/elf32_sparc.sh (TEXT_START_ADDR): Change to 0x10000. (NONPAGED_TEXT_START_ADDR): Likewise. (TEMPLATE_NAME): Define as elf32. (DATA_PLT): Define. * emulparams/elf_i386.sh (TEMPLATE_NAME): Define as elf32. * scripttempl/elf.sc: Add placement for new dynamic sections. Don't use CREATE_OBJECT_SYMBOLS. Define _etext, _edata and _end outside of any section. Don't use ALIGN(8); just let one section VMA follow another. Put .dynbss in .bss. Don't mention debugging sections; they'll be handled correctly anyhow. * Makefile.in (eelf_i386.c): Depend upon elf32.em, not generic.em.
1994-05-16 * emultempl/hppaelf.em: Change all references ofJeff Law1-0/+35
.hppa_linker_stubs to .PARISC.stubs. * scripttempl/hppaelf.sc: Likewise.
1994-05-06support for Xgo32X.Steve Chamberlain2-0/+45
1994-05-02Keep Lynx linker scripts.Stan Shebs1-1/+3
1994-04-27 * Makefile.in, configure.in: Support for go32 coff.Steve Chamberlain2-0/+46
* config/i386-go32.mt: New file * emulparams/i386go32.sh: New file * scripttempl/i386go32.sc: New file
1994-04-27Tue Apr 26 17:20:03 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-0/+93
* Makefile.in (em_m68klynx.c, em_i386lynx.c, em_sparclynx.c): Use Lynx-specific script templates. * configure.in (sparclite*-*-coff): Use coff-sparc. * emulparams/i386lynx.sh (SCRIPT_NAME): Set to i386lynx. * emulparams/sparclynx.sh (SCRIPT_NAME): Set to sparclynx. (ENTRY): Set to __main. * scripttempl/i386lynx.sc: New file, script for I386 Lynx. * scripttempl/m68klynx.sc: Add insertion of ctor/dtor sections. * scripttempl/sparclynx.sc: New file, script for uSparc Lynx.
1994-02-26 * scripttempl/elf.sc: Force all sections to be aligned.Ian Lance Taylor1-12/+19
1994-02-24H8/500 bits.Steve Chamberlain1-0/+4
1994-02-08Opps.Jeff Law1-1/+1
1994-02-08Renamed hppaosf.sc to hppaelf.scJeff Law1-35/+0
1994-02-04Support for various sicko segmented memory models.Steve Chamberlain4-0/+240
1994-01-14 Motorola Delta sysV68 support from phdm@info.ucl.ac.BE (PhilippeIan Lance Taylor1-0/+27
De Muyter). * configure.in (m68k-motorola-sysv*) New target. * config/delta68.mt: New file. * emulparams/delta68.sh: New file. * scripttempl/delta68.sc: New file. * Makefile.in (ALL_EMULATIONS): Added em_delta68.o. (em_delta68.c): New target.
1994-01-08 * scripttempl/elf.c: Define __bss_start before the .sbss section.Ian Lance Taylor1-13/+60