aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1994-02-28 * emultempl/hppaelf.em (hppaelf_finish): Update comments. ThisJeff Law1-0/+3
works again. Attach some output symbols to the stub file bfd.
1994-02-28 * emultempl/hppaelf.em: Include elf32-hppa.h.Jeff Law2-4/+9
(file_chain): Add decl. (hppa_look_for_stubs_in_section): Delete decl. (hppaelf_finish): Reenable code. Do not pass symbols down to hppa_look_for_stubs_in_section.
1994-02-26 * ldmain.c (write_map): Don't define. Removed all references.Ian Lance Taylor2-1/+14
Just use map_file or map_filename instead. (add_archive_element): Use minfo to write map information, not info_msg. (constructor_callback): Use fprintf to write map information, not info_msg. * ldmain.h (write_map): Don't declare. * ldgram.y (mri_script_command): Removed reference to write_map. * ldlang.c (lang_one_common): Likewise. * lexsup.c (parse_args): Likewise.
1994-02-26 * scripttempl/elf.sc: Force all sections to be aligned.Ian Lance Taylor2-12/+21
1994-02-26 * ldgram.y (section): Reverse the order of memspec_opt andIan Lance Taylor2-2/+6
fill_opt to avoid an ambiguity when both are used. * ld.texinfo: Changed accordingly.
1994-02-26 * ldgram.y: Move include of ldlex.h back with other includes.Ian Lance Taylor2-4/+8
* ldlex.h (input_type): Don't initialize enum constants to particular values. * ldlex.l: Use a switch to return the right token based on input_type, rather than knowing that input_type has a value based on a token type.
1994-02-26 * ldgram.y (dirlist_ptr): Removed; not used.Ian Lance Taylor4-12/+22
* lexsup.c: Include ldver.h. * Makefile.in: Rebuilt dependencies.
1994-02-26Fri Feb 25 18:55:54 1994 Ted Lemon (mellon@pepper.ncd.com)Ian Lance Taylor2-2/+6
* ldlang.c (lookup_name): don't call bfd_set_gp_size. (ldlang_add_file): call it here instead.
1994-02-26 * ldgram.y: Include ldlex.h after %token decls, for byacc.David MacKenzie2-1/+8
1994-02-26 * emultempl/hppaelf.em: First attempt to clean this file up.Jeff Law2-81/+155
Add comments in several functions as to their purpose and how they function (or my current best guess). Clean up horrible spacing and indention that never should have been accepted in the first place. Add FIXMEs for issues which need to be resolved. Disable linker-stub generation until it gets fixed. This allows the linker to at least work on simple code for testing purposes.
1994-02-25 * ldlang.c (lang_size_sections): No longer static (PA ELF callsJeff Law3-18/+17
it via hppaelf_finish). Prototype moved into ldlang.h. (lang_process): Move problematic extra call to lang_size_sections into the PA ELF specific code. * emultempl/hppaelf.em (hppaelf_finish): Extra call to lang_size_sections moved here.
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.