aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1994-12-09 * scripttempl/elf.sc: Move .ctors and .dtors from .text segment toIan Lance Taylor1-0/+34
.data segment. They must be writable when creating a shared library. From H.J. Lu <hjl@nynexst.com>.
1994-12-06keep everythingKen Raeburn1-0/+45
1994-12-06Switch r3 to scratch register, r0 to stack register.Michael Tiemann1-3/+1
Other misc changes before beta shipment to customer.
1994-12-02 * config/default.exp: Define objdump if it is not defined.Ian Lance Taylor11-0/+736
* ld-empic/*: New tests to test -membedded-pic code.
1994-12-02 * emultempl/miposecoff.em: New file.Ian Lance Taylor2-0/+231
* emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff. * emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise. * scripttempl/mips.sc: Put .rel.sdata sections in .text, and provide __runtime_reloc_start and __runtime_reloc_stop if they are used. Align _fdata to a 16 byte boundary. * Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than generic.em. (emipsidtl.c): Likewise. (check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest.
1994-12-02 * ld.h (args_type): Add new field embedded_relocs.Ian Lance Taylor2-0/+12
* ldemul.h (ldemul_after_open, after_open_default): Declare. (ld_emulation_xfer_struct): Add new field after_open. * ldemul.c (ldemul_after_open): New function. (after_open_default): New function. * ldlang.c (lang_process): Call ldemul_after_open. * lexsup.c (parse_args): Handle --embedded-relocs. * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize new after_open field to after_open_default. * emultempl/generic.em, emultempl/gld960.em: Likewise. * emultempl/gld960c.em, emultempl/hppaelf.em: Likewise. * emultempl/linux.em, emultempl/m88kbcs.em: Likewise. * emultempl/sunos.em, emultempl/vanilla.em: Likewise. * ld.texinfo, ld.1: Mention -embedded-relocs.
1994-11-28 * ld-bootstrap/bootstrap.exp: Pass cmp output throughIan Lance Taylor2-31/+32
prune_system_crud. * ld-cdtest/cdtest.exp: Pass diff output through prune_system_crud. * ld-shared/shared.exp: Likewise. * config/default.exp: Remove unused and useless proc ld_load.
1994-11-26Add shlSteve Chamberlain2-0/+6
1994-11-26Add changes from customer since last work.Michael Tiemann2-47/+26
1994-11-25Enable ld to build for RCE. This is not tested yet!Michael Tiemann7-2/+80
1994-11-25*** empty log message ***Michael Tiemann2-12/+12
1994-11-25Rename r16 files to rce, and fix some more .Sanitize typos.Michael Tiemann2-4/+4
1994-11-24Recognize and sanitize r16 as a target.Michael Tiemann2-0/+40
1994-11-24Safely check in r16 targets for binutils.Michael Tiemann2-0/+8
1994-11-24 * Makefile.in: Add eshl.o.Steve Chamberlain3-5/+15
* config/coff-sh.mt: Add shl emulation.
1994-11-22 * scripttempl/elf.sc: Fill .text section with NOPS. From EricIan Lance Taylor1-0/+5
Youngdale <eric@aib.com>.
1994-11-17 Patches from pirker@eiunix.tuwien.ac.at (Martin Pirker).Ian Lance Taylor3-0/+10
* config/i386linux.mh: New file; set HOSTING_CRT0. * genscripts.sh: Don't put ${libdir} in LIB_PATH if it is /usr/lib, since that is already in LIB_PATH.
1994-11-16 * scripttempl/hppaelf.sc (.text): Handle a use rdefined text startJeff Law1-0/+5
address. (.data, .bss): If "-N", then place the data/bss just after the end of the .text section rather than at the default 0x40000000.
1994-11-16 * scripttempl/hppaelf.sc (.text): Place unwind descriptors in theJeff Law2-3/+15
text segment.
1994-11-15keep riscix, pc532mach filesKen Raeburn3-0/+5
1994-11-14Keep ld-shared.Ian Lance Taylor1-0/+1
1994-11-14Keep i386lynx.mh.Ian Lance Taylor1-0/+1
1994-11-12 * scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} toIan Lance Taylor1-0/+5
_start.
1994-11-12 * ld.h (args_type): Add field export_dynamic.Ian Lance Taylor2-3/+223
* lexsup.c (parse_args): Recognize --export-dynamic. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Pass export_dynamic argument to bfd_elf32_size_dynamic_sections.
1994-11-09 * ldlang.c (lang_one_common): Set SEC_ALLOC in any section whereIan Lance Taylor2-0/+8
we allocate common symbols.
1994-11-08Tue Nov 8 17:50:43 1994 Eric Youngdale (eric@aib.com)Ian Lance Taylor2-10/+35
* scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and .rela.fini to the list of .rel* sections.
1994-11-08 * ldlang.c (load_symbols): Add new argument place. Only acceptIan Lance Taylor2-8/+53
linker scripts if place is not NULL. Put commands found in an assumed linker script into place. (lookup_name): Pass NULL as place argument to load_symbols. (open_input_bfds): In lang_input_statement_enum case, pass a place argument to load_symbols, and store any new statements after the current one. PR 5917.
1994-11-04Makefile.in: fix tipo in e*nbsd.c dependenciesKen Raeburn1-0/+4
1994-11-04* Makefile.in (check): Add missing "else true" clause.Ken Raeburn3-7/+21
* 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-11-02 * ldctor.c (ldctor_add_set_entry): Don't permit a set to beIan Lance Taylor1-0/+8
composed of different object file formats. (ldctor_build_sets): If the output format does not support the reloc, and we are not generating a relocateable link, try getting the reloc from the input format.
1994-11-01* Makefile.in (ALL_EMULATIONS): Added em68knbsd.o.J.T. Conklin6-4/+24
(em68knbsd.c): New target. * config/m68k-nbsd.mt: New file. * emulparams/m68knbsd.sh: New file. * configure.in (m68*-*-netbsd*): Use above configs.
1994-11-01 * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): If we find anIan Lance Taylor1-0/+6
appropriately named static library, stop the search at that directory.
1994-10-31 * lib/ld.exp (default_ld_compile): Remove the output file beforeIan Lance Taylor1-0/+2
compiling.
1994-10-27 * ld-shared: New directory, with new files to test generating ELFIan Lance Taylor7-0/+426
shared libraries.
1994-10-27 * lib/ld.exp (default_ld_compile): If the compilation worked, butIan Lance Taylor1-0/+19
no object file was created, check to see if the compiler foolishly ignored the -o switch when compiling, and move the resulting object if it did.
1994-10-26* Makefile.in (ALL_EMULATIONS): Added ei386nbsd.o, ens32knbsd.oJ.T. Conklin12-112/+164
and esparcnbsd.o; sorted entries. (ei386nbsd.c,ens32knbsd.c,esparcnbsd.c): New targets. * config/netbsd532.mt: Removed. * emulparams/netbsd532.sh: Removed. * config/{i386-nbsd.mt,ns32k-nbsd.mt,sparc-nbsd.mt}: New files. * emulparams/{i386nbsd.sh,ns32knbsd.sh,sparcnbsd.sh}: New files. * configure.in (i[345]86-*-netbsd*, ns32k-pc532-netbsd*, sparc*-*-netbsd*): Use above configs.
1994-10-25 * ldmain.c (multiple_common): One of the types may now beIan Lance Taylor1-0/+5
bfd_link_hash_indirect. The old BFD argument may be NULL.
1994-10-21 * configure.in: Add * at the end of m68k-hp-hpux.Ian Lance Taylor2-7/+11
1994-10-18 * ldlex.l: Cast assignment to yy_ch_buf field to char *, not toIan Lance Taylor1-0/+5
YY_CHAR *.
1994-10-17* scripttempl/nw.sc: Gather constructors and destructors andJ.T. Conklin1-1/+6
define __CTOR__LIST__ and __DTOR_LIST__ appropriately.
1994-10-17updated versionKen Raeburn2-3/+19
1994-10-14* Makefile.in (ALL_EMULATIONS): Add ei386nw.o and eppcnw.o.J.T. Conklin8-0/+144
(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-10-14* ldint.texinfo: Move misplaced `@end iftex'.J.T. Conklin1-0/+4
1994-10-14Fri Oct 14 12:02:18 1994 Eric Youngdale (eric@aib.com)Ian Lance Taylor1-0/+5
* scripttempl/elf.sc: Add .rel.ctors, .rela.ctors, .rel.dtors, and .rela.dtors to the list of .rel* sections.
1994-10-13configure.in: handle i[345]86-*-linux*, not just -linuxKen Raeburn1-0/+4
1994-10-13 * scripttempl/aout.sc: Set _etext and __etext to ., notIan Lance Taylor1-0/+7
${DATA_ALIGNMENT}. This is compatible with SunOS, and, with luck, will not break any other system. From Eric Valette <ev@chorus.fr>.
1994-10-12 * lexsup.c (parse_args): Change -V to be a synonym for -v. AddIan Lance Taylor2-3/+13
--verbose to get the old -V behaviour. * ld.1, ld.texinfo: Document this change.
1994-09-29missed this fileIan Lance Taylor1-0/+0
1994-09-29 * VMS does not permits `.' in directory names. RenamedIan Lance Taylor16-220/+3
ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and ld.scripts to ld-scripts.
1994-09-28 * config/default.exp: Set variables as and nm. Create tmpdir ifIan Lance Taylor8-10/+66
it does not already exist. * ld.bootstrap/bootstrap.exp: Don't create tmpdir here. * ld.cdtest/cdtest.exp: Likewise. * ld.scripts/defined.exp: Likewise. Also, don't set as and nm here. Change perror for no variables found to fail. * ld.scripts/script.exp: New test. * ld.scripts/script.t, ld.scripts/script.s: New files.