aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1994-06-10Don't sanitize out SPARC v9 stuff.Ian Lance Taylor3-56/+0
1994-06-10Restore sparc64 targets clobbered in 1994/04/07 checkin.Ian Lance Taylor1-0/+2
1994-06-10 * emultempl/gld960.em: Pass false for new argument toIan Lance Taylor1-0/+9
ldfile_add_library_path. * emultempl/gld960c.em, emultempl/lnk960.em: Likewise.
1994-06-10 * emultempl/sunos.em: Only look for .so files if doing a dynamicIan Lance Taylor1-1/+2
link.
1994-06-09 * scripttempl/i960.sc: Add CONSTRUCTORS to .data.Ian Lance Taylor1-0/+4
1994-06-09 * Makefile.in (check): Delete ld.new dependency so that a regressionBill Cox2-1/+6
test doesn't trigger a rebuild of the linker.
1994-06-09 * ldlang.c (map_input_to_output_sections): For lang_address, callIan Lance Taylor2-7/+9
init_os if it hasn't already been called.
1994-06-03Rebuilt dependencies.Ian Lance Taylor1-1/+1
1994-06-02Use SunOS shared libraries on a Sun 3.Ian Lance Taylor2-1/+3
1994-06-02Correct handling of .sa file.Ian Lance Taylor1-2/+5
1994-06-02 Add support for SunOS shared libraries.Ian Lance Taylor5-1/+637
* aout.sc: Don't define __DYNAMIC here. Add new sections used by shared library support code. * emultempl/sunos.em: New file. * emulparams/sun4.sh (TEMPLATE_NAME): Define as sunos. * Makefile.in (esun4.c): Depend upon sunos.em, not generic.em.
1994-06-02 * ldlang.c: Minor formatting cleanups.Ian Lance Taylor1-20/+18
(lang_for_each_input_file): New function. * ldlang.h (lang_for_each_input_file): Declare.
1994-06-02 * ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdlineIan Lance Taylor5-27/+41
field. (search_head): Declare. (ldfile_add_library_path): Add new cmdline argument in prototype. * ldfile.c (search_head): Make non-static. (search_dirs_type): Move to ldfile.h. (ldfile_add_library_path): Accept cmdline argument, and save it. * lexsup.c (parse_args): Pass true for new cmdline argument of ldfile_add_library_path. (set_default_dirlist): Likewise. * ldmain.c (check_for_scripts_dir): Pass false for new cmdline argument of ldfile_add_library_path. * ldgram.y (ifile_p1): Likewise.
1994-06-01 * ldlang.h (lang_input_statement_type): Remove fields subfiles,Ian Lance Taylor5-29/+18
total_size, superfile and chain. * ldfile.c (open_a): Don't clear search_dirs_flag. (ldfile_open_file): Don't try to open superfile. Assert that file has not already been opened. * ldlang.c (new_afile): Don't initialize superfile. * ldmain.c (add_archive_element): Don't initialize subfiles or chain or superfile. Initialize search_dirs_flag to false.
1994-05-27changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs)Ken Raeburn10-56/+123
1994-05-27 * ldlang.c (entry_symbol): Make static.Ian Lance Taylor5-42/+65
(lang_add_entry): Add cmdline argument. * ldlang.h (lang_add_entry): Change prototype. * ldgram.y (statement_anywhere): Change lang_add_entry call. * lexsup.c (parse_args): Likewise.
1994-05-27 * ldlang.c (lang_add_entry): Only set the entry symbol if it hasIan Lance Taylor2-1/+7
not been set already.
1994-05-24 * emulparams/elf32mipb.sh (OTHER_READONLY_SECTIONS): Don't giveIan Lance Taylor2-3/+15
.reginfo an address. (OTHER_READWRITE_SECTIONS): Don't give .lit4 or .lit8 an address. (OTHER_SECTIONS): Define for .gptab.sdata and .gptab.sbss. * scripttempl/elf.sc: Use OTHER_SECTIONS at end of script.
1994-05-20Remove sanitization of PowerPC NetWareIan Lance Taylor2-26/+1
1994-05-19 Add support for ELF shared libraries.Ian Lance Taylor9-170/+410
* ld.h (ld_config_type): Add field dynamic_link. * ldmain.c (main): Initialize config.dynamic_link to false. Warn on attempts to use -r with -relax, -call_shared or -s. * lexsup.c (longopts): Separate OPTION_CALL_SHARED from OPTION_NON_SHARED. Add OPTION_IGNORE. Adjust macro values accordingly. Add "dy" and "non_shared" options. Change "Qy" to OPTION_IGNORE for now. Handle OPTION_CALL_SHARED and OPTION_NON_SHARED by setting dynamic_link field accordingly. Handle OPTION_IGNORE by ignoring it. Clear dynamic_link field for -r and -Ur. * ldfile.c (ldfile_open_file): If config.dynamic_link is true, try opening a file with a .so extension first. * emultempl/elf32.em: New file. * emulparams/elf32_sparc.sh (TEXT_START_ADDR): Change to 0x10000. (NONPAGED_TEXT_START_ADDR): Likewise. (TEMPLATE_NAME): Define as elf32. (DATA_PLT): Define. * emulparams/elf_i386.sh (TEMPLATE_NAME): Define as elf32. * scripttempl/elf.sc: Add placement for new dynamic sections. Don't use CREATE_OBJECT_SYMBOLS. Define _etext, _edata and _end outside of any section. Don't use ALIGN(8); just let one section VMA follow another. Put .dynbss in .bss. Don't mention debugging sections; they'll be handled correctly anyhow. * Makefile.in (eelf_i386.c): Depend upon elf32.em, not generic.em.
1994-05-18 * Makefile.in (install): Redirect output of ln to /dev/null.Ian Lance Taylor2-1/+5
1994-05-17 * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error procBill Cox3-5/+10
calls with perror calls.
1994-05-16 * emultempl/hppaelf.em: Change all references ofJeff Law2-0/+41
.hppa_linker_stubs to .PARISC.stubs. * scripttempl/hppaelf.sc: Likewise.
1994-05-13 * ldlang.c (print_output_section_statement): Change ``no attachedIan Lance Taylor2-5/+14
output section'' message slightly. (lang_do_assignments): Don't recurse down if there is no real section.
1994-05-13 * config/i386-linux.mt (OTHER_EMULATIONS): Change em_ to e toIan Lance Taylor7-9/+16
match corresponding change in emulation templates. * config/i386-lynx.mt, config/m68k-lynx.mt: Likewise. * config/sparc-lynx.mt, config/sun4sol2.mt: Likewise.
1994-05-11note name change of cdtest-bar.ccKen Raeburn1-1/+1
1994-05-118.3 name fixes: ld.cdtest/cdtest-func.cc -> cdtest-bar.ccKen Raeburn4-3/+36
1994-05-11* ldver.c (ldversion): Updated version number.Ken Raeburn5-85/+120
* cdtest-foo.cc: Use explicit "#pragma implementation". * cdtest-bar.cc: Renamed from cdtest-func.cc. * Makefile.in: References to cdtest-func.o changed to cdtest-bar.o.
1994-05-11 Don't create unnecessary output sections.Ian Lance Taylor3-57/+72
* ldlang.c (out_bfd_get_section_by_name): Remove. (wild_section): Call bfd_get_section_by_name rather than our_bfd_get_section_by_name. Don't call wild_doit if there is no section. (lang_create_output_section_statements): Remove. (map_input_to_output_sections): For several cases, call init_os if it has not already been called. (lang_size_sections): If output section was not created, skip it. (lang_process): Don't call lan_create_output_section_statements. (lang_place_orphans): Skip files with just_syms_flags set to true. * ld.texinfo: Document change.
1994-05-10 * ldlang.c (wild_doit): Don't bother initializing the vma andIan Lance Taylor2-45/+67
section size. Don't special case SEC_SHARED_LIBRARY. (lang_size_sections): Handle SEC_COFF_SHARED_LIBRARY sections specially.
1994-05-09Remove Delta68 support. Could not get copyright assignment for it.Ian Lance Taylor2-12/+4
From now on, I'll get that first.
1994-05-08keep gld960c.emKen Raeburn1-0/+1
1994-05-08keep gld960coff.shKen Raeburn1-0/+1
1994-05-08deal with file renaming, new filesKen Raeburn1-2/+4
1994-05-06support for Xgo32X.Steve Chamberlain2-0/+45
1994-05-06 * config/go32.mh : New file for Xgo32X.Steve Chamberlain2-0/+5
1994-05-06 * ldfile.c (ldfile_open_command_file): Set bfd_error_system_callIan Lance Taylor1-0/+4
before calling einfo, since we are reporting an fopen failure. From jrs@world.std.com (Rick Sladkey).
1994-05-06 * configure.in: Use "e" rather than "em_" as prefix forIan Lance Taylor1-0/+5
emulations.
1994-05-06em_->e, mips-idtl->mipsl-idt name changesKen Raeburn1-0/+53
1994-05-06* emultempl/generic.em: Use "e" rather than "em_" as prefix for filename.Ken Raeburn1-4/+4
* emultempl/gld960.em, emultempl/gld960c.em, emultempl/lnk960.em, emultempl/hppaelf.em, emultempl/m88kbcs.em, emultempl/vanilla.em: Ditto. * Makefile.in: Changed all generated file names. (ldemul-list.h): Depend on Makefile, not config.status. Changed sed patterns to handle new filenames.
1994-05-06* config/mipsl-idt.mt: Renamed from mips-idtl.mt.Ken Raeburn2-3/+6
* configure.in: Adjusted.
1994-05-06* emulparams/gld960coff.sh: New file.Ken Raeburn1-0/+7
Patches from Ralph Campbell: * emulparams/mipsbsd.sh (OUTPUT_FORMAT): Fix name to have `a.out' instead of `aout'.
1994-05-06* config/cf-h8300h.mt: Renamed from coff-h8300h.mt, to make it unique in 8.3.Ken Raeburn3-0/+3
* config/i960coff.mt: New file. Patches from Ralph Campbell: * config/mipsbsd.mh: New file.
1994-05-04 * config/m68k.mt (EMUL): Set to m68kaout.Ian Lance Taylor3-2/+9
* emulparams/m68kaout.sh: New file. * Makefile.in (ALL_EMULATIONS): Add em_m68kaout.o. (em_m68kaout.c): New target.
1994-05-04For PR 4906.Ian Lance Taylor1-0/+10
* ldlang.c (lang_size_sections): If dot moves because of an assignment, don't try to insert a pad into the absolute output section, just change the address of the default memory region instead.
1994-05-04 * Makefile.in (mostlyclean): Remove cdtest.tmp, cdtest-ur,Ian Lance Taylor1-1/+2
cdtest-ur.out, and cdtest-ur.tmp.
1994-05-02Keep Lynx linker scripts.Stan Shebs1-1/+3
1994-04-28Back-migrate minor changes in these files from 94Q1 progressive into devo:Bill Cox1-0/+4
dejagnu/ChangeLog, dejagnu/Makefile.in, dejagnu/example/calc/Makefile.in, dejagnu/lib/remote.exp, dejagnu/testsuite/Makefile.in, dejagnu/testsuite/runtest.all/options.exp, gcc/testsuite/config/unix.exp, gdb/testsuite/Makefile.in, ld/ChangeLog, newlib/testsuite/ChangeLog, texinfo/testsuite/ChangeLog
1994-04-27 * scripttempl/sa29200.sc: Align all sections to four byteIan Lance Taylor1-0/+5
boundaries.
1994-04-27 * Makefile.in, configure.in: Support for go32 coff.Steve Chamberlain9-1/+77
* config/i386-go32.mt: New file * emulparams/i386go32.sh: New file * scripttempl/i386go32.sc: New file