aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1993-12-17 * ldmain.c (lprefix): Change default from a char to a stringJeff Law3-3/+10
with only one character. (lprefix_len): Set default to one. * ldmain.h (lprefix_len): Declare. * ldsym.c (write_file_locals): Use strncmp rather than a character comparison for lprefix. * emultmpl/m88kbcs.em (before_parse): Set lprefix and lprefix_len correctly. * emultmpl/hppaosf.em: Include ldexp.h. (before_parse): Set lprefix and lprefix_len correctly.
1993-12-14 * ldlex.h: Don't declare yywrap if it is a macro.Ian Lance Taylor1-0/+2
* ldlex.l: Include sysdep.h.
1993-12-14 * ldlang.c (lang_for_each_statement_worker,Ian Lance Taylor1-0/+5
lang_for_each_statement): Forgot to use PARAMS.
1993-12-13 * Makefile.in: Added .PHONY targets where appropriate. Added someIan Lance Taylor1-0/+21
comments. Also: (gcclibdir, version): Removed unused variables. (DEP): New variable, set to mkdep. (ALL_CFLAGS): New variable. Used in .c.o target. (CFILES, HFILES, GENERATED_CFILES, GENERATED_HFILES): New variables. (HEADERS, MANSOURCES, LDCSOURCES, GENERATED_SOURCES, GENERATED_HEADERS, LDSOURCES, BFD_SOURCES, SOURCES): Removed mostly obsolete variables. Adjusted remaining uses. (DEF_EMUL): Removed variable. (ldmain.o): Handle undefined EMUL error correctly. (ldemul-list.h): Depend on config.status rather than Makefile. Create via temporary file. (ver960.c, roll, make): Removed obsolete targets. (.dep, .dep1, dep.sed, dep, dep-in): New targets. Used to rebuild dependencies.
1993-12-13New file used for rebuilding dependencies.Ian Lance Taylor2-0/+17
1993-12-12More gcc lint.Ian Lance Taylor8-146/+245
1993-12-11 Made many changes to eliminate gcc warnings. Made variousIan Lance Taylor21-755/+726
cosmetic changes, declared various things in header files, removed various extern declarations from .c files. No substantive changes.
1993-12-11 * ldlang.c (lang_process): Ifdef out final call toIan Lance Taylor2-16/+34
lang_size_sections again (reverting change of Nove 2), since it breaks the Sun4 linker.
1993-12-02 * ldgram.y (OPTION_Oval): New token.Ian Lance Taylor1-2/+4
(command_line_option): Accept and ignore it. * ldlex.l (<COMMAND>): Handle -On where n is a number.
1993-12-01* configure.in: Group targets by CPU. Merge some m68k target entries withKen Raeburn2-8/+19
different CPU specs that use the same ld_target values. * configure.in: Add sparc*-*-coff. * config/coff-sparc.mt, emulparams/coff_sparc.sh: New files. * Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o. (em_coff_sparc.c): Add dependencies and build rules.
1993-12-01New file for bare sparc-coff support.Ken Raeburn2-0/+8
1993-12-01 * ldgram.y (OPTION_call_shared, OPTION_non_shared): New tokens.Ian Lance Taylor3-14/+70
(command_line_option): Accept and ignore them (for now). * ldlex.l (<COMMAND>): Handle -non_shared and -call_shared.
1993-11-19 * configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32.Ian Lance Taylor2-0/+35
* emulparams/elf32mipsb.sh (DATA_ADDR): Define. (OTHER_READONLY_SECTIONS): Define for .reginfo. (EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK. * scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating. Move OTHER_READONLY_SECTIONS after all the other readonly sections. Don't use DATA_ADDR twice.
1993-11-19 * ldmain.c (enter_file_symbols): Removed duplicate tests of p. IfIan Lance Taylor1-44/+98
p is in a common section, make sure the BFD has a section of that name.
1993-11-17Use sun4sol2 for a target of sparc-netware.Sean Eric Fagan1-0/+5
1993-11-12More correct m68k LynxOS supportStan Shebs4-5/+44
1993-11-08netware target support.David Henkel-Wallace1-0/+4
1993-11-06correct mach3 valuesDavid MacKenzie1-1/+6
1993-11-05adjusting repository after cvs mixupKen Raeburn3-2261/+0
1993-11-05First cut at sanitization, doc files, &c for gas/binutils releasesKen Raeburn3-0/+2261
1993-11-04Fix up dependencies and rules for ld.dvi, ld.info.Ken Raeburn2-3/+5
1993-11-03* Makefile.in (distclean): Don't get rid of dvi or info files.Ken Raeburn2-4/+13
1993-11-03make -o override OUTPUTDavid MacKenzie1-0/+8
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-11-02 * scripttempl/hppaosf.sc: (___stack_zero, etext, _etext,Jeff Law2-2/+14
edata, _edata, end): Add definitions of these symbols. (__end): Remove definition of this symbol. (__data_start): Move definition of this symbol.
1993-11-02 * emultempl/hppaosf.em: Various fixes and support for linker stubJeff Law1-0/+8
generation. (hppaosf_finish, hppaosf_search_for_padding_statements, hppaosf_create_output_section_statements): New functions in support of linker stub generation. (ld_hppaosf_emulation): Redefine to include new emulation-specific routines.
1993-11-02 * emultempl/hppaosf.em: Various fixes and support for linker stubJeff Law1-1/+171
generation. (hppaosf_finish, hppaosf_search_for_padding_statements, hppaosf_create_output_section_statements): New functions in support of linker stub generation. (ld_hppaosf_emulation): Redefine to include new emulation-specific routines.
1993-11-02 * ldlang.c (lang_process): Re-enable last call lang_size_sections.Jeff Law2-34/+46
Pass abs_output_section rather than NULL to avoid invalidating absolute symbols.
1993-11-01Keep Lynx fileStan Shebs2-1/+3
1993-11-01Keep Sparc fileStan Shebs1-1/+2
1993-10-29mach 386 changesDavid MacKenzie2-0/+2
1993-10-29testDavid MacKenzie1-0/+1
1993-10-29 * ld.h (flag_is_*): Removed macros.Ian Lance Taylor2-5/+12
* ldmain.c (enter_global_ref), ldsym.c (write_file_locals): Consistently check the BFD symbol flags directly, rather than using file_is_* macros.
1993-10-29Sparc COFF supportStan Shebs1-0/+37
1993-10-29Sparc Lynx supportStan Shebs5-6/+31
1993-10-29clarify reason for -sort-commonDavid MacKenzie1-1/+2
1993-10-28 * Makefile.in: Add dependency for $(EMULATION_OFILES).Ian Lance Taylor2-5/+32
1993-10-25 * relax.c (write_relax): Check return value of bfd_seclet_link.Ian Lance Taylor2-9/+7
1993-10-25* ldlang.c (delete_output_file_on_failure): New variable.Ken Raeburn2-1/+31
(open_output): Set it after bfd open succeeds. * ldmisc.c (vfinfo): Test it. Changes from Peter Hoogenboom, hoogen@cs.utah.edu: * ldsym.c (write_file_locals): Set the BSF_FILE flag for object symbols. * ldemul.c: Support was added to allow emulation-specific processing to occur. This support was added primarily for linker stub generation in the elf32-hppa gld. (ldemul_finish, ldemul_create_output_section_statements): New functions. * ldemul.h: Support was added to allow emulation-specific processing to occur. (As described above.) Added finish and create_output_section_statements fields to ld_emulation_xfer_struct structure. * ldlang.c: Add calls to emulation-specific routines. (lang_process): Add call to ldemul_create_output_section_statements function. (lang_process): Add call to a emulation-specific routine (and some processing after the call).
1993-10-19 * configure.in (alpha-*-osf*): New target; use alpha.mt.Ian Lance Taylor3-106/+150
* Makefile.in (ALL_EMULATIONS): Added em_alpha.o. (em_alpha.c): New target; use alpha.sh and alpha.sc. * config/alphaosf.mh (NATIVE_LIB_DIRS, HOSTING_CRT0): Define. * config/alpha.mt: New file. * emulparams/alpha.sh: New file. * scripttempl/alpha.sc: New file.
1993-10-19New files for Alpha linker.Ian Lance Taylor6-0/+76
1993-10-15* ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handleDavid Edelsohn1-3/+4
types of different sizes (eg: 64 and 32 bits), so coerce. * ld.h (ALIGN_N): Add warning about usage.
1993-10-13 * ldmain.c (enter_global_ref): Just ignore any weak symbol forIan Lance Taylor1-0/+6
which we already have a definition, rather than checking in several different places whether the symbol is weak.
1993-10-12 * configure.in (mips-*-elf*): New target; use mipsb-elf32.Ian Lance Taylor1-2/+10
* scripttempl/elf.sc: Only use OTHER_READONLY_SECTIONS and OTHER_READWRITE_SECTIONS if relocating. Shell variables are not expanded within them. * config/mipsb-elf32.mt: New file. * emulparams/elf32mipb.sh: New file. * Makefile.in (em_elf32mipb.c): New target.
1993-10-12elf32mipb.sh: New emulation parameter file for big endian MIPS ELF.Ian Lance Taylor2-0/+12
1993-10-12mipsb-elf32.mt: New configuration file for big endian MIPS ELF.Ian Lance Taylor2-0/+2
1993-10-08Use both h8300 emulations.Steve Chamberlain1-0/+1
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-10-01 * ldlang.c (lang_add_input_file): If it's a library brought in byRob Savoye2-10/+46
INPUT(), then change the file type to lang_input_file_is_l_enum. * ldgram.y: In input_list, change lang_input_file_is_file_enum to lang_input_file_is_search_file_enum so objects brought in using INPUT() do a path lookup.
1993-09-28Lynx supportStan Shebs6-0/+22