aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1996-03-12Tue Mar 12 12:43:59 1996 David Mosberger-Tang <davidm@koala.azstarnet.com>Ian Lance Taylor5-6/+49
* ld.h (ld_config_type): Add warn_multiple_gp field. * lexsup.c (parse_args): Handle --warn-multiple-gp. * ldmain.c (warning_callback): Suppress multiple gp values warning if --warn_multiple_gp was not used. * ld.texinfo, ld.1: Document --warn-multiple-gp.
1996-03-12 * configure: Rebuild with autoconf 2.8.Ian Lance Taylor1-0/+2
1996-03-12 Don't do SunOS style dynamic linking for sparc-aout:Ian Lance Taylor3-0/+23
* configure.tgt (sparc64-*-aout*): Use sparcaout, not sun4. (sparclite*-fujitsu-*, sparc*-*-aout): Likewise. (sparc*-wrs-vxworks*): Likewise. * emulparams/sparcaout.sh: New file. * Makefile.in (ALL_EMULATIONS): Add esparcaout.o. (esparcaout.c): New target.
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-03-06 * ldemul.h (ldemul_unrecognized_file): Declare.Ian Lance Taylor1-0/+12
(ldemulation_xfer_type): Add unrecognized_file field. * ldemul.c (ldemul_unrecognized_file): New function. * ldlang.c (load_symbols): If a file can not be recognized, call ldemul_unrecognized_file before trying it as a linker script. * aix.em (gld${EMULATION_NAME}_unrecognized_file): New static function. (gld${EMULATION_NAME}_read_file): Use FOPEN_RT, not "r". (ld_${EMULATION_NAME}_emulation): Initialize unrecognized_file.
1996-03-04 * ldlang.c (wild): Handle foo.a(.text) by mapping each includedIan Lance Taylor2-1/+33
member of foo.a separately. From Jouke Numan <jnuman@bazis.nl>.
1996-03-01Fri Mar 1 10:24:59 1996 Andreas Schwab ↵Ian Lance Taylor1-0/+5
<schwab@issan.informatik.uni-dortmund.de> * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Search trinary.cond rather than searching trinary.lhs twice.
1996-02-27 * mpw-make.sed: Edit out shared library support.Stan Shebs2-0/+14
(@TDIRS@): Edit out, can't use genscripts.
1996-02-27Tue Feb 27 15:09:21 1996 Andreas Schwab ↵Ian Lance Taylor3-0/+22
<schwab@issan.informatik.uni-dortmund.de> * configure.tgt (m68k-*-linuxaout*, m68k-*-linux*): New targets. * emulparams/m68klinux.sh: New file. * emultempl/linux.em (gld${EMULATION_NAME}_before_allocation): Call bfd_${EMULATION_NAME}_size_dynamic_sections instead of bfd_linux_size_dynamic_sections. * Makefile.in (ALL_EMULATIONS): Add em68klinux.o. (em68klinux.c): New target. * configure.host (m68*-*-linuxaout*, m68*-*-linux*): New hosts. Tue Feb 27 12:55:46 1996 Ian Lance Taylor <ian@cygnus.com> * Makefile.in (ALL_EMULATIONS): Sort into alphabetical order. Fill in missing entries.
1996-02-27update copyrightIan Lance Taylor2-3/+3
1996-02-27 * lexsup.c (parse_args): Recognize --no-whole-archive.Ian Lance Taylor6-32/+107
* ldlang.h (lang_input_statement_type): Add whole_archive field. * ldlang.c (new_afile): Set whole_archive field. (load_symbols): Check input file specific whole_archive field rather than global variable. * ld.texinfo, ld.1: Document --no-whole-archive. PR 9094.
1996-02-20 * configure.tgt: Correct gldi960 to gld960.Ian Lance Taylor2-2/+6
1996-02-19 * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): CheckIan Lance Taylor2-22/+54
the SONAME if it is available. (gld${EMULATION_NAME}_stat_needed): Use the SONAME, not the filename, when checking for conflicting library versions. Don't assume that the suffix is only numbers and dots.
1996-02-19 * ld.texinfo: Mention that -R can be used for -rpath.Ian Lance Taylor2-135/+349
1996-02-18 * configure.host: Check for 'do not mix' from native linker beforeIan Lance Taylor2-0/+7
trying to use -rpath.
1996-02-15 * configure.in: Remove explicit substitution of CFLAGS; autoconfIan Lance Taylor2-0/+6
does it anyhow. * configure: Rebuild. * Makefile.in (LDFLAGS): Set to @LDFLAGS@.
1996-02-15 * configure.in: Call AC_PROG_CC before configure.host.Ian Lance Taylor4-17/+18
* configure: Rebuild. * configure.host: Remove go32 host, since it should no longer be necessary. Don't set CC for romp host.
1996-02-15 * scripttempl/elf.sc: Don't skip a page in virtual memory space ifIan Lance Taylor1-0/+3
the text segment ends exactly on a page boundary.
1996-02-15 * configure.in: Substitute RPATH_ENVVAR.Ian Lance Taylor5-10/+26
* configure: Rebuild. * configure.host: Set RPATH_ENVVAR. * Makefile.in (RPATH_ENVVAR): New variable. (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
1996-02-14 * configure.tgt (*-*-ieee*): New target; use vanilla.Ian Lance Taylor5-160/+177
Wed Feb 14 18:49:01 1996 Alan Modra <alan@spri.levels.unisa.edu.au> * configure.in: Redo emulation handling so that each emulation searches the correct tool directory, based on the target alias. For example, "configure --enable-targets=m68k-coff i386-linux" will search /usr/local/i386-linux/lib for linux and /usr/local/m68k-coff/lib for m68k-coff. * configure: Rebuild. * configure.tgt: Add special tdir settings for Linux. * Makefile.in: Add @TDIRS@. Pass "$(tdir_EMUL)" to ${GENSCRIPTS} for each eEMUL.c target. * genscripts.sh: Accept specific alias as 9th argument, and use it in LIB_PATH.
1996-02-14Wed Feb 14 16:38:36 1996 Martin Anantharaman ↵Ian Lance Taylor8-3/+97
<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-14 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): StripIan Lance Taylor2-1/+6
`:foo' from ${ARCH}.
1996-02-13Tue Feb 13 15:58:58 1996 Bryan Ford <baford@snake.cs.utah.edu>Ian Lance Taylor1-0/+5
* scripttempl/i386msdos.sc: Don't pad the .text section. Put .rodata in .data.
1996-02-13 * configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared.Ian Lance Taylor2-0/+5
1996-02-13 * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Warn ifIan Lance Taylor2-19/+79
it looks like we might be linking in two different versions of the same shared library. Based on a patch from H J Lu <hjl@zoom.com>.
1996-02-09 * ldlang.c (lang_size_sections): Increment the section size when aIan Lance Taylor2-82/+155
padding statement is encountered. PR 8965.
1996-02-07 * configure.in: Look for --enable-shared. Change the value ofIan Lance Taylor5-29/+151
BFDLIB when linking against a shared library on SunOS. * configure: Rebuild. * configure.host: If using a shared BFD library, try to pass a reasonable -rpath option when linking. * Makefile.in (BFDLIB): Set to @BFDLIB@.
1996-02-05 Support for building bfd and opcodes as shared libraries, based onIan Lance Taylor1-0/+22
patches from Alan Modra <alan@spri.levels.unisa.edu.au>: * configure.in (HLDFLAGS): New substitution. * configure: Rebuild. * configure.host: Set HLDFLAGS on SunOS. * Makefile.in (HLDFLAGS): New variable. (BFDDEP): New variable. (BFDLIB): Change to -L../bfd -lbfd. ($(LD_PROG)): Depend upon $(BFDDEP) rathern than $(BFDLIB). Use $(HLDFLAGS) in link. (check): Set LD_LIBRARY_PATH in the environment.
1996-02-03Move .sdata2/.sbss2 into read-only sectionMichael Meissner1-10/+42
1996-02-02 * configure: Regenerate.Ian Lance Taylor1-0/+4
1996-02-01 * emulparams/elf_i386.sh (TEXT_START_ADDR): Change to 0x8048000,Ian Lance Taylor1-0/+3
for SVR4 compatibility. PR 8794.
1996-02-01 * ldexp.c (exp_fold_tree): Correct handling of ABSOLUTE.Ian Lance Taylor1-0/+4
PR 8909.
1996-02-01 * configure.tgt (i[345]86-*-cygwin32, powerpcle-*-cygwin32): New.Steve Chamberlain1-0/+6
* emultempl/pe.em (definfo init): Make the default stack reserve of a PPC larger.
1996-01-31Wed Jan 31 14:34:23 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor6-2/+71
* 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-30 * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): IgnoreIan Lance Taylor1-0/+5
-bnoentry, since the right thing tends to happen anyhow.
1996-01-29 * ld.texinfo, ld.1: Document -export-dynamic.Ian Lance Taylor2-2/+20
1996-01-26 * ld-undefined/undefined.exp: ELF targets should now pass theIan Lance Taylor2-9/+33
undefined line test.
1996-01-25 * ld-empic/empic.exp: Update for change to MIPS disassembler.Ian Lance Taylor1-2/+2
1996-01-25Thu Jan 25 16:46:58 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion1-0/+5
* emulparams/{elf32b4300.sh, elf32l4300.sh}: Changed TEXT_START_ADDR to allow use on IDT and PMON systems.
1996-01-25 * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args):Steve Chamberlain1-0/+5
correct spelling.
1996-01-25 * configure.tgt (sparc64-*-solaris2*): New configuration.David Edelsohn1-0/+5
(sparc64-*-aout*): Renamed from sparc64*.
1996-01-22Mon Jan 22 13:01:35 1996 Andreas Schwab ↵Ian Lance Taylor2-1/+9
<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 Meissner2-24/+20
1996-01-16 * ldgram.y (%union): Add phdr field.Ian Lance Taylor1-0/+17
(phdr): Use phdr_qualifiers rather than opt_hdrs and opt_at. (phdr_qualifiers): New nonterminal. Add support for FLAGS. (opt_hdrs, hdr): Remove. (phdr_val): New nonterminal. * ldlang.c (lang_new_phdr): Replace hdrs parameter with filehdr and phdrs parameters. Add flags parameter. (lang_record_phdrs): Update for changes to lang_phdr. Pass flags to bfd_record_phdr. * ldlang.h (struct lang_phdr): Replace hdrs field with filehdr and phdrs fields. Add flags field. (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Remove. (lang_new_phdr): Update declaration. * ld.texinfo: Document FLAGS.
1996-01-15 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation):Ian Lance Taylor2-2/+7
Don't make a shared library because of an undefined reference to __GLOBAL_OFFSET_TABLE_.
1996-01-15update copyrightsIan Lance Taylor1-1/+2
1996-01-15 Add some Irix 5 support, mostly from Kazumoto KojimaIan Lance Taylor6-2/+243
<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-15 * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5*Ian Lance Taylor3-27/+133
when doing the --static test. * ld-shared/shared.exp: Run tests on mips*-*-irix5*.
1996-01-13Add .rela.got.neg section; remove .rel.* sectionsMichael Meissner2-28/+22
1996-01-12 * scripttempl/sh.sc: Only build constructors when CONSTRUCTING.Ian Lance Taylor1-0/+2