aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
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.
1994-12-29 * ldwrite.c (clone_section): Create a symbol with theSteve Chamberlain1-0/+5
same name as the section.
1994-12-19 * ld.h (split_by_reloc, split_by_file): New flags.Steve Chamberlain2-27/+251
* ldwrite.c (clone_section, split_sections): New functions. * lexsup.c (parse_args): Understand new split options.
1994-12-17there isn't a configure script here thoughKen Raeburn1-1/+1
1994-12-17need to sanititze Makefile.in for arc tooKen Raeburn1-1/+1
1994-12-16Remove duplicate of ARC sanitization.David Edelsohn1-27/+0
1994-12-14sanitize out arc stuffKen Raeburn1-0/+56
1994-12-14* lib/ld.exp (prune_system_crud): Define if not already defined, in case theKen Raeburn1-0/+24
user isn't using the newest DejaGnu version that we haven't released to the net yet.
1994-12-14 * mpw-config.in (m68k-apple-macos, ppc-apple-macos,Stan Shebs2-3/+20
i386-unknown-aout, i386-unknown-coff): New targets. (m68k-aout, m68k-coff): Remove targets. (mk.tmp): Add definition of EMUL.
1994-12-14Initial arc-elf support.David Edelsohn3-0/+17
1994-12-09 * scripttempl/elf.sc: Move .ctors and .dtors from .text segment toIan Lance Taylor1-0/+34
.data segment. They must be writable when creating a shared library. From H.J. Lu <hjl@nynexst.com>.
1994-12-06keep everythingKen Raeburn1-0/+45
1994-12-06Switch r3 to scratch register, r0 to stack register.Michael Tiemann1-3/+1
Other misc changes before beta shipment to customer.
1994-12-02 * config/default.exp: Define objdump if it is not defined.Ian Lance Taylor11-0/+736
* ld-empic/*: New tests to test -membedded-pic code.
1994-12-02 * emultempl/miposecoff.em: New file.Ian Lance Taylor2-0/+231
* emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff. * emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise. * scripttempl/mips.sc: Put .rel.sdata sections in .text, and provide __runtime_reloc_start and __runtime_reloc_stop if they are used. Align _fdata to a 16 byte boundary. * Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than generic.em. (emipsidtl.c): Likewise. (check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest.
1994-12-02 * ld.h (args_type): Add new field embedded_relocs.Ian Lance Taylor2-0/+12
* ldemul.h (ldemul_after_open, after_open_default): Declare. (ld_emulation_xfer_struct): Add new field after_open. * ldemul.c (ldemul_after_open): New function. (after_open_default): New function. * ldlang.c (lang_process): Call ldemul_after_open. * lexsup.c (parse_args): Handle --embedded-relocs. * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize new after_open field to after_open_default. * emultempl/generic.em, emultempl/gld960.em: Likewise. * emultempl/gld960c.em, emultempl/hppaelf.em: Likewise. * emultempl/linux.em, emultempl/m88kbcs.em: Likewise. * emultempl/sunos.em, emultempl/vanilla.em: Likewise. * ld.texinfo, ld.1: Mention -embedded-relocs.
1994-11-28 * ld-bootstrap/bootstrap.exp: Pass cmp output throughIan Lance Taylor2-31/+32
prune_system_crud. * ld-cdtest/cdtest.exp: Pass diff output through prune_system_crud. * ld-shared/shared.exp: Likewise. * config/default.exp: Remove unused and useless proc ld_load.
1994-11-26Add shlSteve Chamberlain2-0/+6
1994-11-26Add changes from customer since last work.Michael Tiemann2-47/+26