aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.1
AgeCommit message (Collapse)AuthorFilesLines
1998-11-14 * ld.1: Some cleanups from NOKUBI Hirotaka <hnokubi@yyy.or.jp>.Ian Lance Taylor1-5/+9
1998-10-27Describe -O option.Ulrich Drepper1-0/+13
1997-10-30 * ld.h (args_type): Add warn_mismatch field.Ian Lance Taylor1-1/+12
* ldmain.c (main): Initialize warn_mismatch field. * lexsup.c (parse_args): Handle --no-warn-mismatch option. * ldlang.c (ignore_bfd_error): New static function. (lang_check): If warn_mismatch is false, don't warn about mismatched input files. * ld.texinfo, ld.1: Document new option. PR 12714.
1996-12-31 * ld.h (args_type): Add filter_shlib and auxiliary_filter_shlibIan Lance Taylor1-23/+43
fields. * lexsup.c (parse_args): Recognize --auxiliary/-f and --filter/-F. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Pass filter_shlib and auxiliary_filter_shlib to size_dynamic_sections. * ld.texinfo, ld.1: Document --filter/-F and --auxiliary/-f.
1996-10-09 * ld.h (ld_config_type): Add warn_section_align field.Ian Lance Taylor1-0/+9
* lexsup.c (OPTION_WARN_SECTION_ALIGN): Define. (ld_options): Add --warn-section-align. (parse_args): Handle --warn-section-align. * ldlang.c (lang_size_sections): If warn_section_align, warn if the start of a section changes due to alignment. * ld.texinfo, ld.1: Document --warn-section-align. * ld.texinfo: Change some single dashes to double dashes. PR 10739.
1996-06-04 * ldcref.c: New file.Ian Lance Taylor1-0/+7
* ld.h (add_cref, output_cref): Declare. * ldmain.c (main): Initialize notice_all field. If it is set at end of link, call output_cref. (notice): Rename from notice_ysym. Check notice_all. * ldmisc.c (finfo): Make globally visible. * ldmisc.h (finfo): Declare. * lexsup.c (OPTION_CREF): Define. (ld_options): Add "cref". (parse_args): Handle OPTION_CREF. * Makefile.in: Rebuild dependencies. (CFILES): Add ldcref.c. (OFILES): Add ldcref.o. * ld.texinfo, ld.1: Document --cref.
1996-04-09 * ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic.Ian Lance Taylor1-0/+3
1996-03-12 * lexsup.c (parse_args): Handle --wrap.Ian Lance Taylor1-0/+16
* 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 Taylor1-0/+6
* 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-02-27update copyrightIan Lance Taylor1-1/+1
1996-02-27 * lexsup.c (parse_args): Recognize --no-whole-archive.Ian Lance Taylor1-5/+13
* 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-01-29 * ld.texinfo, ld.1: Document -export-dynamic.Ian Lance Taylor1-2/+11
1995-11-14 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use theIan Lance Taylor1-1/+6
environment variable LD_RUN_PATH if neither -rpath nor -rpath-link were used. (gld${EMULATION_NAME}_before_allocation): Use the environment variable LD_RUN_PATH if -rpath was not used. * ld.texinfo, ld.1: Document LD_RUN_PATH. PR 8428.
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.