aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1996-04-05Fri Apr 5 18:11:25 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion2-0/+10
* emulparams/elf32{b,l}4300.sh (MACHINE): Add explicit architecture number. * scripttempl/elf.sc: Use $MACHINE definition if present. * configure.tgt (targ_extra_emuls): Force 4100 build to use same template as 4300.
1996-04-01 * ldlang.c (lang_size_sections): Change region check to handleIan Lance Taylor2-4/+8
regions which end at the highest possible address correctly. From Roland Weber <roweber@ira.uka.de>.
1996-04-01 * ldlang.c (section_already_linked): New static function.Ian Lance Taylor2-8/+128
(wild_doit): Discard sections with SEC_EXCLUDE set if not doing a relocateable link. Don't worry about section being NULL, since it never should be. Don't call init_os unless the section is going to be added. (ldlang_add_file): Call section_already_linked for each section. * ldmain.c (multiple_definition): Don't warn about multiple definitions in sections which are being discarded.
1996-03-31 * scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/.Steve Chamberlain1-0/+5
* emultempl/pe.em (init): Remove special case PPC code.
1996-03-31 * scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/.Steve Chamberlain1-2/+3
1996-03-29 * scripttempl/h8300.sc: Make vectors section 0xc4 bytes longJeff Law3-0/+130
so as not to overwrite the magic syscall entry at 0xc4. * scripttempl/h8300h.sc: Likewise. hmse.
1996-03-28 * configure.tgt (sparc64-*-solaris2*): Delete.David Edelsohn2-5/+17
Stick with sparc-*-solaris2*.
1996-03-27 * ld.h (DISCARD_SECTION_NAME): Define to "/DISCARD/".Ian Lance Taylor3-9/+34
* ldlang.c (init_os): Fail on an attempt to initialize any section named DISCARD_SECTION_NAME. (wild_doit): Discard input sections assigned to an output section named DISCARD_SECTION_NAME. * ld.texinfo: Document use of /DISCARD/.
1996-03-27 * ldlang.c: Fix some indentation and comments.Ian Lance Taylor2-69/+75
1996-03-26 * ldmain.c (main): Call bfd_set_error_program_name.Ian Lance Taylor2-0/+28
1996-03-21 * ldmisc.c (vfinfo): case 'I': If the file is not in an archive,Ian Lance Taylor1-0/+4
and the local symbol name does not match the filename, print the filename as well.
1996-03-21 Patches from John Polstra <jdp@polstra.com> for FreeBSD ELF:Ian Lance Taylor1-0/+7
* lexsup.c (parse_args): -Bshareable is a synonym for -shared. * emulparams/elf_i386.sh (NONPAGED_TEXT_START_ADDR): Make the same as TEXT_START_ADDR.
1996-03-20Wed Mar 20 18:18:25 1996 Andreas Schwab ↵Ian Lance Taylor2-7/+11
<schwab@issan.informatik.uni-dortmund.de> * ld.texinfo: Fix typos. Use @pxref only inside parentheses.
1996-03-20 * ldmain.c (add_wrap): New function.Ian Lance Taylor2-12/+7
* ldmain.h (add_wrap): Declare. * lexsup.c (parse_args): Call add_wrap.
1996-03-20 * configure.host (sparc*-*-solaris2* host): Accept any sparc variant.David Edelsohn1-0/+4
1996-03-14 * scripttempl/h8300.sc: Change name of page zero memoryJeff Law1-0/+8
from "null" to "vectors". Create an output section for vectors. Add comments on how to explicitly place items in the vector table. * scripttempl/h8300h.sc: Likewise. hmse
1996-03-13 * emultempl/lnk960.em (machine_table): Add jx and hx.Ian Lance Taylor1-0/+2
1996-03-13 * genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn'tIan Lance Taylor1-0/+5
support it.
1996-03-12 * lexsup.c (parse_args): Handle --wrap.Ian Lance Taylor5-6/+76
* ldmain.c (main): Initialize link_info.wrap_hash. * ldexp.c (fold_name): Use bfd_wrapped_link_hash_lookup in DEFINED and NAME cases. * ld.texinfo, ld.1: Document --wrap.
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.