aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1995-03-30Thu Mar 30 14:32:26 1995 H.J. Lu (hjl@nynexst.com)Ian Lance Taylor5-5/+13
* configure.in: Change linux to default to elf. Using i[345]86-*-linuxaout will build a linker which defaults to a.out. * config/i386-laout.mt: Rename from old config/i386-linux.mt. * config/i386-linux.mt: Rename from old config/i386-lelf.mt. * config/i386-lelf.mt: Remove.
1995-03-30 * ld.texinfo, ld.1: Document the -no-keep-memory option.Ian Lance Taylor2-0/+13
1995-03-27 * ldmain.c (main): Revert patch of March 10, since the SVR4 linkerIan Lance Taylor2-1/+11
does mark shared libraries as executable.
1995-03-21 * ldlang.c (lang_common): Change power to int. Pass larger valuesIan Lance Taylor1-0/+7
before smaller values. (lang_one_common): Treat info as int *. Don't bother to check for last value, since it is now zero.
1995-03-18tipoIan Lance Taylor1-1/+1
1995-03-18 * ldlang.c (load_symbols): An empty is archive is OK.Ian Lance Taylor2-4/+46
1995-03-18update for changed mpw filenameStan Shebs1-1/+1
1995-03-18 * mpw-config.in (i386-unknown-aout): Change to i386-unknown-go32.Stan Shebs5-357/+565
(i386-unknown-coff): Remove. (sh-hitachi-hms): New target. (emulation_ofiles): Set correctly for each target. (version, TDEFINES): Add to makefile fragment. * mpw-make.in (BISON): Use byacc instead of bison. (em_*.c): Replace with e*.c everywhere. (ldgram.h): Separate action from ldgram.c generation. (LD_PROG): Depend on Version.r. (Version.r): generate from version info. * mpw-em.c: Remove. * mpw-emipsidt.c: New file, modified for MPW from emipsidt.c.
1995-03-16Provide eabi C++ static constructor/destructor support.Michael Meissner2-3/+20
1995-03-16 * ld.texinfo, ld.1: Document --whole-archive.Ian Lance Taylor2-0/+10
1995-03-16 * ldlang.c (load_symbols): If whole_archive is true and ENTRYIan Lance Taylor2-0/+13
describes an archive, call bfd_link_add_symbols on each member. * ldmain.c (whole_archive): New variable. (main): Initialize it to false. * ldmain.h: Declare whole_archive. * lexsup.c (parse_args): Grok --whole-archive switch.
1995-03-16 * genscripts.sh (EMULATION_NAME): Set LIB_PATH to empty when notIan Lance Taylor1-0/+3
using the default emulation.
1995-03-16 * config/dgux.mh (HOSTING_EMU): Use -m rather than trying to setIan Lance Taylor3-3/+8
LDEMULATION. * config/hppaelf.mh (HOSTING_EMU): Likewise.
1995-03-14 * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Set force_majIan Lance Taylor1-0/+5
for -lc.N. From H.J. Lu <hjl@nynexst.com>.
1995-03-10 * ldmain.c (main): Don't set EXEC_P if link_info.shared is set.Ian Lance Taylor2-2/+13
1995-03-10 * ldlex.l: Return -lFILENAME as the token LNAME.Ian Lance Taylor2-12/+66
* ldgram.y: Add token LNAME. (input_list): Treat LNAME like NAME, but pass it to lang_add_input_file as lang_input_file_is_l_enum. * ld.texinfo: Document using -lFILENAME in INPUT.
1995-03-10document split-by-reloc and split-by-fileIan Lance Taylor1-0/+26
1995-03-08 * emulparams/arcelf.sh (OUTPUT_FORMAT): Change to elf32-littlearc.David Edelsohn1-0/+7
(LITTLE_OUTPUT_FORMAT, BIG_OUTPUT_FORMAT): Define.
1995-03-07 * ldemul.c (ldemul_choose_mode): If emulation not recognized, listIan Lance Taylor1-0/+5
all supported emulations.
1995-03-06 * ldemul.c (ldemul_list_emulations): New function.Ian Lance Taylor2-0/+64
* ldemul.h (ldemul_list_emulations): Declare. * ldver.c (help): List supported targets and emulations. PR 6345.
1995-03-03 * emultempl/elf32.em (hold_rel): New static variable.Ian Lance Taylor1-0/+16
(gld${EMULATION_NAME}_place_orphan): Place readonly sections with contents whose names begin with ".rel" after hold_rel. Remove the assertion which checked for unplaced .rel sections. Don't try to sort the section into place if place->bfd_section is NULL. (gld${EMULATION_NAME}_place_section): Set hold_rel to the first section beginning with ".rel".
1995-03-02 Doc note from pierre@phi.la.tce.com (Pierre Willard):Ian Lance Taylor1-14/+3
* ld.texinfo: -X and -x work even if -s or -S are not specified. * ld.1: Similar change.
1995-03-01 * emulparams/gld960coff.sh (COFF_CTORS): Define.Ian Lance Taylor1-0/+5
* scripttempl/i960.sc: Use COFF_CTORS if CONSTRUCTING.
1995-02-28 * configure.in (i[345]86-*-linuxelf*): New target. Use i386-lelf.Ian Lance Taylor4-0/+13
(i[345]86-*-gnuelf*): New target. Use i386-gelf. * config/i386-lelf.mt: New file. * config/i386-gelf.mt: New file.
1995-02-28 * configure.in: Match on mips-ecoff, and default to the IDTRob Savoye2-2/+20
configuration.
1995-02-17Add support for .got1 and .got2 sections; Offset _GLOBAL_OFFSET_TABLE_ by ↵Michael Meissner1-7/+16
32768 from GOT start.
1995-02-09* Makefile.in (distclean): Do recursive deletion, since ldscripts is a ↵Ken Raeburn1-0/+5
directory.
1995-02-09 * ldmain.c (main): If trace_file_tries is true, and we are usingIan Lance Taylor1-0/+5
an internal linker script, print out the script. * ldfile.c (try_open): Reindent function. Make the messages about opening script files more informative. PR 6309.
1995-02-09 * lexsup.c (parse_args): For -V, call ldversion with 1, not 0.Ian Lance Taylor2-1/+11
* ld.texinfo, ld.1: Update accordingly.
1995-02-09fix commentsIan Lance Taylor1-5/+9
1995-02-08 * ldlang.c (lang_one_common): Adjust references to common symbolIan Lance Taylor1-0/+5
information for new structure.
1995-02-06 * ldmain.c (undefined_symbol): Handle section being NULL.Ian Lance Taylor2-6/+20
1995-02-06tipoIan Lance Taylor1-1/+1
1995-02-06 * ldctor.c (ldctor_build_sets): Handle bfd_link_hah_defweak.Ian Lance Taylor3-11/+38
* ldexp.c (fold_name): Likewise. * ldlang.c (print_one_symbol): Likewise. (lang_finish): Likewise. * ldmain.c (multiple_common): Likewise. * ldwrite.c (print_symbol): Likewise. Also, bfd_link_hash_weak renamed to bfd_link_hash_undefweak.
1995-02-06 * scripttempl/alpha.sc: Set address of .data section correctlyIan Lance Taylor1-0/+7
when -n or -N is used. Patch from Chris G Demetriou <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>.
1995-02-01 * ldlang.c (lang_size_sections): Clarify error message when userDavid Edelsohn2-25/+43
specified start addr conflicts with region. Fix resetting of region pointer.
1995-01-31 * ldexp.c (fold_name): In case NAME, permit an absolute symbolIan Lance Taylor2-81/+146
in lang_allocating_phase_enum. PR 6259.
1995-01-27 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): ForIan Lance Taylor1-0/+7
a MIPS target, clobber the size of all but the first input .reginfo section to be 0, so that lang_size_sections sets the correct size for the output .reginfo section.
1995-01-27 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):Ian Lance Taylor2-1/+5
Remove unused variable is.
1995-01-26Add embedded PowerPC ELF support.Michael Meissner3-0/+148
1995-01-24 * ld-bootstrap/bootstrap.exp: If not in the ld build directory,Ian Lance Taylor1-38/+38
call untested for each test, rather than ignoring it. If one test fails, go on to the next one instead of returning. * ld-cdtest/cdtest.exp: If compilations fail, mark tests as unresolved. * ld-empic/empic.exp: Likewise. Also, always pass the same test name to pass or fail. * ld-shared/shared.exp: Likewise. Also, always run all tests. * ld-scripts/defined.exp: If as or nm fail, mark test as unresolved. Always pass the same test name to pass or fail. * ld-scripts/script.exp: Likewise. * ld-scripts/sizeof.exp: Likewise.
1995-01-24update copyrightsIan Lance Taylor1-1/+49
1995-01-24 * ldctor.c (ldctor_add_set_entry): Don't dump core if aIan Lance Taylor2-104/+178
constructor entry is in the absolute section.
1995-01-23 * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu.Ian Lance Taylor4-2/+24
* config/i386-gnu.mt: New file. Include ELF support.
1995-01-16 * configure.in (w65-*-*): New target.Steve Chamberlain7-0/+76
* Makefile.in: Update. * scripttempl/w65.sc: New. * config/coff-w65.mt: New.
1995-01-12 * ldlang.c (lang_place_orphans): Don't ignore files withIan Lance Taylor1-0/+6
just_syms_flag set. Instead, put all their sections in bfd_abs_section_ptr, using the section VMA as the output_offset. PR 6159.
1995-01-12Don't use const with reloc_howto_type, since it's now defined to be const.Ken Raeburn2-2/+16
1995-01-11 * ld-scripts/sizeof.exp: New test, based on bug report fromIan Lance Taylor4-0/+67
anders.blomdell@control.lth.se. * ld-scripts/sizeof.s: New file. * ld-scripts/sizeof.t: New file.
1995-01-11 * ldexp.c (fold_binary): Adding or subtracting an absolute valueIan Lance Taylor1-0/+6
to a relative value does not require forcing the relative value to be absolute. Also, reindent function.
1995-01-04 * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to seeIan Lance Taylor2-4/+20
if the linker exists.