aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
AgeCommit message (Collapse)AuthorFilesLines
1994-02-25 Use getopt instead of lex and yacc to parse the command line.David MacKenzie1-267/+194
* ld.texinfo (Options): Document changes to option syntax. * Makefile.in: Update dependencies. * ldver.c (help): Tweak dashes in usage message. * ldgram.y (%union): Remove unused members. Remove %tokens for command line options; add ones for input types. (command_line): Rules removed. (file): Instead of command line, recognize an input type indicator, then use the nonterminal for that type. (defsym_expr): New nonterminal from code formerly in command_line. * ldlex.h: Declare parser input type enum and variable. Don't declare parse_line. * ldlex.l: Remove unused variables. Make some used ones static and comment them. (COMMAND): Start state and its rules removed. At start of yylex, return input state token if at start of input. (lex_redirect): Don't need to set yyout. (ldlex_command): Function removed. * ldmain.c (main): Instead of calling parse_line, set up the redirections and call yyparse directly. * ldmisc.c (vfinfo): If there's no input filename, print nothing, not "command line". * lexsup.c: Remove #if 0'd code. (parse_line): Function removed. (parse_args): Rewrite to use getopt_long_only. (set_default_dirlist): New function from code formerly in ldgram.y:command_line. (set_section_start): New function. * emultempl/generic.em, emultempl/gld960.em, emultempl/hppaelf.em, emultempl/lnk960.em, emultempl/m88kbcs.em: Don't enclose compiled-in link scripts in "{" and "}", as the grammar no longer wants them to be.
1994-02-03Formatting adjustments, for better smallbook formattingRoland Pesch1-10/+12
and to agree better w/FSF (RMS) indentation conventions.
1994-02-03Describe -retain-symbols-file.Roland Pesch1-0/+20
1994-02-03misc updates:Roland Pesch1-46/+94
(1) show `-y SYMBOL' with space (2) weaken multi-target stuff, to avoid false expectations now that linker now often config'd with only one target (3) describe -relax support on i960 (4) correct description of hyphen chars in symbols (5) describe CONSTRUCTORS linker script cmd
1994-02-02Describe AT option of SECTIONS command, at long last.Roland Pesch1-20/+73
1994-01-25Tue Jan 25 13:19:41 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-1/+6
* ldmain.c (main): Compute and display total execution time. * ld.texinfo (-stats): Document the option.
1994-01-19 * ld.texinfo: Clarify what -T option does.David MacKenzie1-3/+4
1994-01-06 * ld.h (QUAD_SIZE): Define.Ian Lance Taylor1-7/+8
* ldgram.y (QUAD): New token. (length): Handle it. * ldlex.l: Return QUAD. * lexsup.c (keywords): Add QUAD. * ldwrite.c (build_link_order): Handle QUAD. * ldlang.c (print_data_statement): Handle QUAD. (lang_size_sections): Likewise. (lang_do_assignments): Likewise. * ldexp.c (exp_print_token): Add QUAD to table. * ld.texinfo: Describe QUAD.
1993-11-03Fixed minor typo ("host" sb "target" in discussion of GNUTARGET).Roland Pesch1-14/+16
To my shame, this was reported 28 aug 92 by Jonathan Ryshpan, and lost in my mail pile til now.
1993-10-01Makefile.in: correct out-of-date TEXIDIR defaultRoland Pesch1-15/+28
ld.texinfo: (a) fix INPUT cmd description (b) fix bad formatting in FSF style (warning examples) (c) add some index entries on warnings
1993-09-03tiny additions & fixesDavid MacKenzie1-9/+11
1993-08-10mention that [section] is no longer supportedDavid MacKenzie1-8/+5
1993-08-05error fixes and clarificationsDavid MacKenzie1-84/+89
1993-08-03add more info about -warn-commonDavid MacKenzie1-0/+2
1993-08-03add -warn-common optionDavid MacKenzie1-2/+83
1993-08-03don't list objfiles... as an optionDavid MacKenzie1-6/+5
1993-07-08 * Make -v only print the version number.David MacKenzie1-168/+32
Share some Texinfo documentation with BFD.
1993-06-22 * ldlex.l, ldgram.y: Support new -oformat option.David MacKenzie1-15/+18
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-6/+13
1993-06-17 * ldfile.c (ldfile_open_command): Don't try .ld extension.David MacKenzie1-14/+38
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.
1993-04-29Clean up English and Texinfo usage.David MacKenzie1-523/+306
1993-03-30Fix index reference (h8/300, not i960).Roland Pesch1-87/+120
1992-08-19Introduce more blanks in examples; minor formatting cleanup.Roland Pesch1-34/+34
1992-08-08Restore docn for -N, now reintroduced into this generation of linker.Roland Pesch1-91/+90
1992-05-07@{ ... @} --> @code{ ... }Roland Pesch1-1/+1
1992-05-05{} -> @{@}K. Richard Pixley1-1/+1
1992-05-05Doc for MRI-compatible linker scripts.Roland Pesch1-83/+214
1992-01-24(1) describe -relaxRoland Pesch1-258/+419
(2) restructure machine dependencies into separate chapter (3) replace pretty, but quick to become obsolete, graph of BFD platforms vs architectures with extended excerpt from (and ref to ) objdump -i.
1991-11-08Smallbook format fixes.Roland Pesch1-91/+100
1991-10-05Fixed info-markup bugs; makeinfo now succeeds with no complaints.Roland Pesch1-495/+1167
1991-04-20Updated, amplified, and reorganized linker manual. Option-flagRoland Pesch1-577/+1044
description believed complete as of today; still holes---small ones---in "commands" section. BFD section also needs better table of supported archs and formats; see FIXMEs for scattered q's and desiderata.
1991-04-15Initial revisionRoland Pesch1-0/+1014