aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
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
1993-09-28Lynx supportStan Shebs2-7/+7
1993-09-23 * config/solaris2.mh: New file. Define HOSTING_CRT0 andIan Lance Taylor2-0/+4
HOSTING_LIBS for testing.
1993-09-17Add i386 SVR4 configuration files that I couldn't add remotely. SeeIan Lance Taylor5-0/+14
ChangeLog.
1993-09-17 Finish up support for i386-sysv4 (without shared libraries):Ian Lance Taylor2-4/+34
* ld.h (flag_is_weak): Define. * ldlang.c (print_symbol): Mention whether symbol is weak. (print_input_section): Print weak symbols as globals. * ldmain.c (refize): Do not zero out BSF_WEAK flag. (enter_global_ref): Do not warn if a weak symbol redefines a global symbol. Do not let a weak symbol redefine a common symbol. (enter_file_symbols): Treat weak symbols as global symbols. (subfile_wanted_p): Do not pull in an object file from a archive just to resolve an undefined weak symbol. * ldmisc.c (vfinfo): Don't needlessly malloc space after a fatal error; the error might be that malloc has run out of space. * ldsym.c (write_file_locals): Treat weak symbols as global. * configure.in (i[34]86-*-sysv4*, i[34]86-*-elf*): New targets; use i386-elf. * config/i386v4.mh: New file; set NATIVE_LIB_DIRS to /usr/ccs/lib. * config/i386-elf.mt: New file; set EMUL to elf_i386. * emulparams/elf_i386.sh: New file. * scripttempl/elf.sc: Use ${NOP} as filler (defaults to 0). * Makefile.in (NATIVE_LIB_DIRS): Define to be empty. (ALL_EMULATIONS): Add em_elf_i386.o. (GENSCRIPTS): Pass NATIVE_LIB_DIRS as sixth argument. (em_elf_i386.c): New target, like other em_*.c targets. ($(LD_PROG)): Pass $(CFLAGS) to $(CC). * genscripts.sh: Accept NATIVE_LIB_DIRS as sixth argument. If nonempty, and configured for native, add it to LIB_PATH.
1993-09-17Added statements for stab sections in coff files.Stan Shebs1-0/+14
1993-09-12Add EMUL=h8300h.David Edelsohn1-0/+6
1993-09-12* ldmain.c (main): Call set_scripts_dir after argv has been processed.David Edelsohn1-0/+4
1993-09-10Added CXXFLAGS to compile stage in ld.cdtest/cdtest.expJeffrey Wheat1-4/+4
1993-09-10Changed CXX back to g++. Using ../gcc/xgcc breaks because of <assert.h>Jeffrey Wheat1-0/+2
1993-09-10Changed CXX back to g++. ../gcc/xgcc breaks the cdtest because of <assert.h>Jeffrey Wheat2-0/+7
1993-09-10Fixed RUNTEST* CXX CXXFLAGS macros and check rule.Jeffrey Wheat2-30/+66
1993-09-10* Makefile.in (TAGS): Use shell wildcards.David MacKenzie2-2/+6