aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
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
1994-04-27Tue Apr 26 17:20:03 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs6-7/+113
* Makefile.in (em_m68klynx.c, em_i386lynx.c, em_sparclynx.c): Use Lynx-specific script templates. * configure.in (sparclite*-*-coff): Use coff-sparc. * emulparams/i386lynx.sh (SCRIPT_NAME): Set to i386lynx. * emulparams/sparclynx.sh (SCRIPT_NAME): Set to sparclynx. (ENTRY): Set to __main. * scripttempl/i386lynx.sc: New file, script for I386 Lynx. * scripttempl/m68klynx.sc: Add insertion of ctor/dtor sections. * scripttempl/sparclynx.sc: New file, script for uSparc Lynx.
1994-04-26 * scripttempl/mips.sc: Force _gp and .lit8 to be aligned to a 16Ian Lance Taylor1-0/+4
byte boundary, in case the global constructors do not take up an even 16 bytes.
1994-04-26 * config/i386v4.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does notIan Lance Taylor2-2/+8
exist, get crtbegin based on gcc -print-libgcc-file-name. (HOSTING_LIBS): Similar change for ../gcc/crtend.o.
1994-04-25 * ldlang.c (lang_size_sections): When no address is given for aIan Lance Taylor2-0/+7
section, align it according to its requirements.
1994-04-21 * Makefile.in (clean, distclean): Remove configdoc.texi.Ian Lance Taylor2-2/+7
1994-04-19 * configure.in: Add recognition of i[34]86-*-bsd386.Bill Cox2-0/+5
1994-04-15 * ldlang.c (lang_size_sections): When relaxing, adjust theIan Lance Taylor2-1/+18
position of a padding statement, and adjust dot accordingly.
1994-04-14There is no interesting Irix 5, or PowerPC, or RS/6000 support in theIan Lance Taylor1-4/+0
linker, so don't mention them.
1994-04-11 * Makefile.in (check): Set TCL_LIBRARY for runtest.Bill Cox2-4/+36
1994-04-11 * scripttempl/i386coff.sc: If relocating, don't put .init andIan Lance Taylor2-2/+10
.fini sections into .text; keep them separate. * config/i386sco.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not exist, get crtbegin based on gcc -print-libgcc-file-name. (HOSTING_LIBS): Similar change for ../gcc/crtend.o.
1994-04-07 * configure.in (hppa*-*-*elf*): Don't require "-hp-" for theJeff Law2-5/+8
manufacturer.
1994-04-06 * emultempl/hppaelf.em (hppaelf_finish): Only resize sectionsJeff Law1-0/+5
if building a final executable.
1994-04-05note that pa support is elf onlyKen Raeburn1-1/+43
1994-04-05 * ldmain.c (main): Check the return value of bfd_close.Ian Lance Taylor1-0/+4
1994-03-31 * scripttempl/alpha.sc: Clean up section alignment to ensure thatIan Lance Taylor1-0/+5
sections never overlap when using -r.
1994-03-30 * ldmisc.c (vfinfo): Change symbol reading slightly for recent BFDIan Lance Taylor1-0/+6
changes: get_symtab_upper_bound renamed and returns long, bfd_canonicalize_symtab returns long, check for error indications.
1994-03-25 * ldlang.c (print_input_section): For section size, useIan Lance Taylor2-11/+15
_cooked_size if it is non-zero, size otherwise. (size_input_section): Likewise. (lang_do_assignments): Likewise (case lang_input_section_enum).
1994-03-24 * ldlang.c (new_afile): Add new argument add_to_list. Don't setIan Lance Taylor2-112/+117
real to true for lang_input_file_is_marker_enum. Clear the_bfd. (lang_add_input_file): Pass true to new_afile for add_to_list. (lookup_name): Remove force_load argument. Changed all callers. Pass false to new_afile for add_to_list. Split loading of symbols out into separate function. (load_symbols): New function split out of lookup_name. Don't load the symbols if they are already loaded. (open_input_bfds): For lang_input_statement_enum call load_symbols rather than lookup_name. (lang_process): Pass abs_output_section rather than NULL to lang_size_sections. (lang_startup): Set real field of first_file to true.
1994-03-23 * emultemp/gld960.em: Include libiberty.hIan Lance Taylor1-0/+5
(gld960_before_parse): Pass NULL as final argument to concat.
1994-03-22 * scripttempl/aout.sc: Force _end and __end to be aligned to aIan Lance Taylor1-0/+3
four byte boundary.
1994-03-22 * ldwrite.c (build_link_order): Handle lang_data_statement_enum byIan Lance Taylor1-0/+6
building a bfd_data_link_order, rather than by setting the section contents immediately.
1994-03-22 Changes to make -Ur work again.Ian Lance Taylor3-6/+208
* ldmain.c (add_to_set): Now takes reloc argument rather than bitsize. Check config.build_constructors here. If an new hash table entry is created, mark it as undefined. (constructor_callback): No longer takes bitsize argument. Pass BFD_RELOC_CTOR to ldctor_add_set_entry, but first make sure the BFD backend supports it. (reloc_overflow): Handle a NULL abfd argument. (reloc_dangerous, unattached_reloc): Likewise. * ldctor.c: Include ldmain.h. (struct set_info): Change bitsize field to reloc. (ldctor_add_set_entry): Now takes reloc argument rather than bitsize. Don't bother to check config.build_constructors here. (ldctor_build_sets): Get the size from the reloc howto. If generating relocateable output, call lang_add_reloc rather than lang_add_data. * ldctor.h (ldctor_add_set_entry): Change declaration to use reloc instead of bitsize. * ldlang.h (statement_enum): Add lang_reloc_statement_enum. (lang_reloc_statement_type): New structure. (lang_statement_union_type): Add reloc_statement field. (lang_add_reloc): Declare new function. * ldlang.c (lang_for_each_statement_worker): Handle lang_reloc_statement_enum. (map_input_to_output_sections, print_statement): Likewise. (lang_size_sections, lang_do_assignments): Likewise. (print_reloc_statement): New function. (lang_add_reloc): New function. * ldwrite.c (build_link_order): Handle lang_reloc_statement_enum.
1994-03-12Remove ppc.em; do it all in nlmconv instead.Ian Lance Taylor2-374/+0