aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
AgeCommit message (Collapse)AuthorFilesLines
1996-03-29 * scripttempl/h8300.sc: Make vectors section 0xc4 bytes longJeff Law2-0/+124
so as not to overwrite the magic syscall entry at 0xc4. * scripttempl/h8300h.sc: Likewise. hmse.
1996-03-07* scripttmpl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 changeJ.T. Conklin1-8/+8
in a different manner to work around differences in shell variable expansion.
1996-02-14Wed Feb 14 16:38:36 1996 Martin Anantharaman ↵Ian Lance Taylor2-0/+62
<martin@mail.imech.uni-duisburg.de> * ldlang.c (lang_set_startof): Don't do anything for a relocateable link. * ldgram.y (mri_script_file): Call mri_draw_tree. * mri.c (mri_draw_tree): Make globally visible. Don't bother to create memory regions. (mri_load): Don't call mri_draw_tree. * mri.h (mri_draw_tree): Declare. * configure.tgt (m68*-*-psos): New target. * emulparams/m68kpsos.sh: New file. * scripttempl/psos.sc: New file. * Makefile.in (ALL_EMULATIONS): Add em68kpsos.o. (em68kpsos.c): New target.
1996-02-03Move .sdata2/.sbss2 into read-only sectionMichael Meissner1-10/+42
1996-01-31Wed Jan 31 14:34:23 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor2-0/+47
* configure.tgt (m68*-apple-aux*): New target. * emulparams/m68kaux.sh: New file. * scripttempl/m68kaux.sc: New file. * Makefile.in (ALL_EMULATIONS): Add em68kaux.o. (em68kaux.c): New target.
1996-01-22Mon Jan 22 13:01:35 1996 Andreas Schwab ↵Ian Lance Taylor1-1/+1
<schwab@issan.informatik.uni-dortmund.de> * Makefile.in (GENSCRIPTS): Pass @host@ @target@ @target_alias@. * genscripts.sh: Set host, target and target_alias variables. Check for native compile by comparing ${target} and ${host}. * emultempl/elf32.em: Likewise. * scripttempl/elfmips.sc: Test ${target}, not ${target_alias}.
1996-01-22Refine eabi supportMichael Meissner1-24/+15
1996-01-15 Add some Irix 5 support, mostly from Kazumoto KojimaIan Lance Taylor2-0/+168
<kkojima@info.kanagawa-u.ac.jp>: * emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips. (SHLIB_TEXT_START_ADDR): Define. (OTHER_GOT_SYMBOLS): Define. (OTHER_READWRITE_SECTIONS): Remove initialization of _gp. (EXECUTABLE_SYMBOLS): Don't define. (DYNAMIC_LINK): Don't define. * emulparams/elf32lmip.sh: Same changes as elf32bmip.sh. * scripttempl/elfmips.sc: New file. * configure.host (mips*-dec-bsd*): Change mips to mips*. (mips*-sgi-irix4*): Likewise. (mips*-sgi-irix5*): New entry. * Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than elf.sc. (eelf32lmip.c): Likewise.
1996-01-13Add .rela.got.neg section; remove .rel.* sectionsMichael Meissner1-28/+17
1996-01-12Add support for .sdata2/.sbss2 and old 2.7.2 compiler; Make text start at ↵Michael Meissner1-9/+35
64k; make data follow on next 64k page after text
1996-01-05Move creating section begin/end labels to compiler crt{i,n}.oMichael Meissner1-18/+2
1995-11-30Expose .edata sectionKim Knuttila1-0/+195
1995-11-30Add a comment saying .junk sections are discarded by the linker.David Edelsohn1-0/+1
1995-11-25 * scripttempl/pe.sc: Two .junk's is too much junk.David Edelsohn1-26/+49
1995-11-07New PowerPC Portable Executable stuffKim Knuttila1-0/+1
1995-11-01Wed Nov 1 15:42:45 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 ↵Ian Lance Taylor2-10/+19
<manfred@lts.sel.alcatel.de> * Makefile.in (ALL_EMULATIONS): Add edelta68.o. (edelta68.c): New target. * configure.tgt (m68*-motorola-sysv3*): New target. * emulparams/delta68.sh: New file. * scripttempl/delta68.sc: New file. * scripttempl/m88kbcs.sc: Handle .init and .fini. Change section addresses.
1995-10-26 * scripttempl/aix.sc: Move special symbols inside sections.Ian Lance Taylor1-7/+7
Always start .data at 0.
1995-10-25add OUTPUT_FORMAT and LIB_SEARCH_DIRSIan Lance Taylor1-0/+2
1995-10-25 * emultempl/aix.em: Add support for various AIX linker options,Ian Lance Taylor1-0/+50
for AIX import and export files, and for AIX shared objects. * scripttempl/aix.sc: Add .pad. Put .ds just before the TOC.
1995-10-16 * configure.tgt (powerpc-*-aix*): New target; use aixppc.Ian Lance Taylor1-0/+1
(rs6000-*-aix*): New target; use aixrs6. * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files. * emultempl/aix.em: New file. * scripttempl/aix.sc: New file. * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o. (eaixppc.c, eaixrs6.c): New targets.
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.