aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.1
AgeCommit message (Collapse)AuthorFilesLines
1995-10-17 * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): MoveIan Lance Taylor1-4/+8
directory searching code into gld${EMULATION_NAME}_search_dir. (gld${EMULATION_NAME}_search_dir): New static function, extracted from gld${EMULATION_NAME}_find_so. (global_needed, global_found): New static variables. (gld${EMULATION_NAME}_after_open): New static function. (gld${EMULATION_NAME}_search_needed): New static function. (gld${EMULATION_NAME}_try_needed): New static function. (gld${EMULATION_NAME}_check_needed): New static function. (ld_${EMULATION_NAME}_emulation): Use new after_open function. * ld.texinfo, ld.1: Mention -rpath-link on SunOS.
1995-10-10 * ld.h (args_type): Add rpath_link field.Ian Lance Taylor1-0/+56
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for required dependencies in rpath_link path. Only search LD_LIBRARY_PATH when configured native. * lexsup.c (parse_args): Recognize -rpath-link. * ld.1, ld.texinfo: Document -rpath-link.
1995-10-06Mon Sep 25 22:49:32 1995 Andreas Schwab ↵Ken Raeburn1-46/+20
<schwab@issan.informatik.uni-dortmund.de> * ld/ld.1: Fix formatting bugs.
1995-07-10 * ld.h (ld_config_type): Add field warn_constructors.Ian Lance Taylor1-1/+8
* ldmain.c (add_to_set): Warn if config.warn_constructors. (constructor_callback): Likewise. * lexsup.c (parse_args): Handle -warn-constructors. * ld.texinfo, ld.1: Document -warn-constructors. PR 7406.
1995-07-10 * ld.texinfo, ld.1: Document -Bstatic, -Bdynamic, -Bshared, andIan Lance Taylor1-4/+24
-shared. Mon Jul 10 13:29:43 1995 Eric Youngdale <eric@aib.com> * ldmain.c (main): Set link_info.symbolic to false. * lexsup.c (parse_args): Handle -Bsymbolic.
1995-03-30 * ld.texinfo, ld.1: Document the -no-keep-memory option.Ian Lance Taylor1-0/+9
1995-03-16 * ld.texinfo, ld.1: Document --whole-archive.Ian Lance Taylor1-0/+9
1995-03-10document split-by-reloc and split-by-fileIan Lance Taylor1-0/+26
1995-03-02 Doc note from pierre@phi.la.tce.com (Pierre Willard):Ian Lance Taylor1-14/+3
* ld.texinfo: -X and -x work even if -s or -S are not specified. * ld.1: Similar change.
1995-02-09 * lexsup.c (parse_args): For -V, call ldversion with 1, not 0.Ian Lance Taylor1-1/+6
* ld.texinfo, ld.1: Update accordingly.
1994-12-02 * ld.h (args_type): Add new field embedded_relocs.Ian Lance Taylor1-0/+11
* 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-10-12 * lexsup.c (parse_args): Change -V to be a synonym for -v. AddIan Lance Taylor1-3/+4
--verbose to get the old -V behaviour. * ld.1, ld.texinfo: Document this change.
1994-09-14 * ld.h (ld_config_type): Add new field warn_once.Ian Lance Taylor1-0/+6
* ldmain.c (undefined_symbol): Handle -warn-once. * lexsup.c (parse_args): Recognize -warn-once. * ld.texinfo (Options): Document -warn-once. * ld.1: Likewise. PR 4456.
1993-10-29clarify reason for -sort-commonDavid MacKenzie1-1/+2
1993-08-03add -warn-common optionDavid MacKenzie1-16/+34
1993-07-08 * Make -v only print the version number.David MacKenzie1-2/+1
Share some Texinfo documentation with BFD.
1993-06-26 * ldver.c (help): New function.David MacKenzie1-0/+17
* ldver.h: Declare it. * ldlex.l, ldgram.y: Recognize new options --help and --version.
1993-06-22 * ldlex.l, ldgram.y: Support new -oformat option.David MacKenzie1-25/+21
Remove attempt at supporting script fragments on the command line. * ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT. * mri.c (mri_format), ldgram.y: Change callers. * ldlang.h: Change prototype.
1993-06-17Document -Map option.David MacKenzie1-0/+13
1993-06-17 * ldfile.c (ldfile_open_command): Don't try .ld extension.David MacKenzie1-259/+39
It wasn't documented (or likely used) and wastes time. (try_open): If EXTEN is empty, don't try it. * ldctor.c, lderror.c, ldexp.c, ldfile.c, ldindr.c, ldlang.c, ldlex.l, ldmain.c, ldmisc.c, ldsym.c, ldver.c, ldwarn.c, ldwrite.c, lexsup.c, mri.c, relax.c: Replace DEFUN macro calls with normal function declarations. * Move *.em to emultempl/*.em. Move *.sh to emulparams/*.sh. Move *.sc-sh to scripttempl/*.sc. * {emultempl,emulparams,scripttempl}/README: New files. * sh.em, st2000.em, z8ksim.em, h8300hms.em, h8500hms.em: Files removed, replaced with generic.em. * h8300.sh, h8500.sh, h8300.sc, h8500.sc: Renamed from h8[35]00hms.s[ch]. Change their contents to omit the "hms". * *.em (*_get_script): Return script name instead of script contents. * ldlang.c (lang_process): Change caller. * ldlex.l, ldgram.y: Recognize -m option. Check for input files after *all* options in grammar. * ldmain.c (main): Check for -m options. Add default directory for -m. * mkscript.c: File removed. * genscripts.sh: Take two more parameters, tooldirlib and libdir, to add to the default LIB_PATH. Look for input files in the new subdirectories. Create the scripts in emulations subdirectory and don't filter them through mkscript. * configure.in: Make the emulations subdirectory. * Makefile.in: Account for all of the above changes. Remove unused .SUFFIXES. Get libgcc.a path with gcc -print-libgcc-file-name instead of $(libdir)/libgcc.a. Put CFLAGS last in the compilation rules. Add -I../bfd to INCLUDES so sysdep.h is found. * ldfile.c (try_open): If opening without the extension fails, try with the extension even if -v or -V was given. had_script is imported (from ldgram.y), not exported.
1992-08-17Thanks to Zoo watchfulness:Roland Pesch1-0/+1048
(1) reflect current name of linker (now "ld", not "gld"); (2) fill in missing portion of a reference to full manual; (3) fix old random typo spotted while proofing above.