aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1994-02-25Add missing newline in einfo message.David MacKenzie1-1/+1
1994-02-25 * lexsup.c (parse_args): Use symbolic numbers for long options.David MacKenzie2-51/+77
Fix misunderstanding in -Y and -call_shared et al.
1994-02-25For some reason this directory was missing a .Sanitize file.Ian Lance Taylor1-0/+41
1994-02-25Make correspond to djm's last change.Ian Lance Taylor1-2/+2
1994-02-25 * configure.in (powerpc-*-elf*): New target; use ppc-elf32.Ian Lance Taylor9-2/+426
* config/ppc-elf32.mt: New file. * emulparams/elf32ppc.sh: New file. * emultempl/ppc.em: New file. * Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o. (em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc. (EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h.
1994-02-25 Use getopt instead of lex and yacc to parse the command line.David MacKenzie10-850/+731
* 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-24H8/500 bits.Steve Chamberlain2-0/+5
1994-02-24Various H8/500 bits.Steve Chamberlain1-0/+4
1994-02-24keep coff_sparc.shKen Raeburn1-0/+1
1994-02-24keep coff-sparc.mtKen Raeburn1-0/+1
1994-02-22 * ldlang.c (lang_size_sections): Only align section to alignmentIan Lance Taylor1-0/+4
required by linker script, not to maximum alignment of input sections.
1994-02-22 * ldlang.h (largest_section): Don't declare.Ian Lance Taylor2-10/+6
* ldlang.c (largest_section): Don't define. (size_input_section): Don't set largest_section; not used.
1994-02-21 * ldlang.c (new_afile): Pass NULL as last argument to concat.Ian Lance Taylor2-1/+5
1994-02-18keep ld.cdtestKen Raeburn1-0/+1
1994-02-17Various entries.Ian Lance Taylor1-0/+9
1994-02-17 * ldlang.c, ldmain.c: Include libiberty.h.Ian Lance Taylor1-0/+1
1994-02-17 * ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error andDavid MacKenzie4-64/+18
bfd_set_error and new error names.
1994-02-16i960-bout linker fixes, install-info bugfixKen Raeburn1-0/+20
1994-02-16(lang_size_sections): Clear bfd_error before calling bfd_relax_section, in caseKen Raeburn1-7/+13
it returns false but doesn't flag an error. If an error is returned, indicate which one it is in the error message.
1994-02-16(install-info): Depend on ld.info, and use "$<*" soKen Raeburn1-6/+6
it'll get picked up from $(srcdir) if appropriate.
1994-02-12 * ldlex.l (comment): Increment line number when newline is read.David MacKenzie1-0/+4
1994-02-11 * ldlang.c (lookup_name): Take new argument, force_load. If true,Ian Lance Taylor1-0/+9
reload the file even if it is already loaded. (wild): Call lookup_name with force_load argument of 0. (open_input_bfds): Call lookup_name with force_load argument of 1. (print_symbol): Remove declaration of non-existent function. (print_one_symbol): Return true rather than falling off end.
1994-02-10 * ldmain.c (main): Use %ld when printing long values.Ian Lance Taylor1-0/+11
1994-02-10 * emulparams/elf32mipb.s (OTHER_BSS_SYMBOLS): Define _fbss.Ian Lance Taylor1-0/+1
1994-02-08Opps.Jeff Law2-3/+3
1994-02-08Oops.Jeff Law2-2/+2
1994-02-08 * Rename all "hppaosf" files to "hppaelf".Jeff Law2-2/+2
* Change all "osf" references to "elf" in hppaelf files. * Makefile.in: Likewise. * configure.in: Likewise.
1994-02-08 * Rename all "hppaosf" files to "hppaelf".Jeff Law1-0/+4
1994-02-08Renamed hppaosf.sc to hppaelf.scJeff Law1-35/+0
1994-02-08Renamed hppaosf.em to hppaelf.emJeff Law1-0/+0
1994-02-08Renamed hppaosf.sh to hppaelf.shJeff Law1-0/+0
1994-02-08Renamed hppaosf.mh to hppaelf.mhJeff Law1-0/+0
1994-02-08Renamed hppaosf.mt to hppaelf.mtJeff Law1-0/+0
1994-02-07 * ldmain.c (main): Call xatexit, not atexit.David MacKenzie1-0/+3
Call xmalloc_set_program_name.
1994-02-07 * ldlang.c (lang_size_sections): Check if bfd_relax_section setDavid MacKenzie1-0/+5
bfd_errno.
1994-02-06remove cvs lossageDavid MacKenzie1-7/+1
1994-02-05 * emultempl/lnk960.em (append), emultempl/hppaosf.emDavid MacKenzie3-10/+16
(hppaosf_finish): Call xmalloc, not ldmalloc. * ldmain.c (preserve_output): Function removed. (main): Do it here instead.
1994-02-05 * ldlang.h (LANG_FOR_EACH_{INPUT,OUTPUT}_SECTION): Delete (unused)Jeff Law2-33/+49
GNU C specific macros. * emultempl/hppaosf.em (hppaosf_finish): Expand the only remaining call to LANG_FOR_EACH_INPUT_SECTION.
1994-02-05 * ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): FunctionsDavid MacKenzie4-18/+54
deleted; will use libiberty versions instead. * ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c mri.c Makefile.in: Change callers. * ldmisc.c (vfinfo): Remove cleanup code. * ldmain.c (remove_output): Put it here (new function). (preserve_output): New function. (main): Register remove_output and preserve_output with atexit. * ldmain.c ldgram.y: Call xexit instead of exit. * ldmisc.h: Declare xexit.
1994-02-04 * Makefile.in: Lots of new H8/500 memory models.Steve Chamberlain2-0/+17
1994-02-04New memory model.Steve Chamberlain1-0/+4
1994-02-04More sicko segmentation support.Steve Chamberlain4-0/+20
1994-02-04Support for various sicko segmented memory models.Steve Chamberlain4-0/+240
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-30* ldlex.l: Removed duplicate rules.Ken Raeburn1-0/+6
(yywrap): Provide default definition, needed with some versions of flex.
1994-01-28 * ldmisc.c (vfinfo): For `%I', if the file is in an archive, printDavid MacKenzie2-81/+90
the archive filename too.
1994-01-28get rid of rcs crudKen Raeburn1-2/+0