Commit Graph

354 Commits

Author SHA1 Message Date
Alan Modra dc149a6d17 * ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too 2000-10-07 13:57:29 +00:00
Kazu Hirata 08da4cac4a 2000-10-05 Kazu Hirata <kazu@hxi.com>
* ldlang.c: Fix formatting.
2000-10-05 13:03:30 +00:00
DJ Delorie c2a94a7afd * pe-dll.c (fill_edata): initialize entire block
(make_one): fill in correct section.
2000-10-03 22:07:17 +00:00
Kazu Hirata 8c95a62eae 2000-10-03 Kazu Hirata <kazu@hxi.com>
* ldexp.c: Fix formatting.
2000-10-03 07:31:55 +00:00
DJ Delorie 486e80e2d5 * emultempl/pe.em (gld_*_after_open): detect case where there two
import libraries for same dll; rename one to ensure proper link
order.

* pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
typo
(generate_edata): fix typo
2000-10-02 14:39:46 +00:00
Alan Modra 65420b22d1 Remove some hppa-elf fudges. 2000-10-02 10:18:14 +00:00
Alexandre Oliva d64552c589 * ltconfig, ltmain.sh, libtool.m4: Updated from libtool
multi-language branch, to work around Solaris' /bin/sh bug.  Rebuilt
all affected `configure' scripts.
2000-09-30 06:07:00 +00:00
Hans-Peter Nilsson 24dd9f7582 * scripttempl/crisaout.sc (ENTRY): Now __start.
(.text): Add default setting for __start.
	Remove CONSTRUCTORS handling.
	(/DISCARD/): Add .gnu.warning.*.
	* emulparams/crislinux.sh (ENTRY): Now __start.
	(TEXT_START_SYMBOLS): New; provide __Stext and __start default.
	* emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
	(ENTRY): Now __start.
	(INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
	(EXECUTABLE_SYMBOLS): Add default setting for __start.
2000-09-29 19:03:57 +00:00
Kazu Hirata 5cc18311d9 2000-09-29 Kazu Hirata <kazu@hxi.com>
* deffile.h: Fix formatting.
	* ld.h: Likewise.
	* ldctor.h: Likewise.
	* ldemul.h: Likewise.
	* ldexp.h: Likewise.
	* ldfile.h: Likewise.
	* ldlang.h: Likewise.
	* lexsup.c: Likewise.
	* mri.c: Likewise.
	* pe-dll.c: Likewise.
2000-09-29 13:21:41 +00:00
Kazu Hirata 4de2d33d1b 2000-09-29 Kazu Hirata <kazu@hxi.com>
* ldcref.c: Fix formatting.
	* ldctor.c: Likewise.
	* ldemul.c: Likewise.
	* ldexp.c: Likewise.
	* ldfile.c: Likewise.
	* ldlang.c: Likewise.
2000-09-29 11:18:18 +00:00
Hans-Peter Nilsson bd0110a3cb * ld-selective/5.cc: New test.
* ld-selective/selective.exp: Run it as xfailed.

	* ld-selective/4.cc: Correct spelling of "lose".
2000-09-28 22:57:26 +00:00
DJ Delorie 1bd591624c oops, didn't mean to check in that change yet 2000-09-28 20:58:57 +00:00
DJ Delorie 45b1f63c8c * pe-dll.c (process_def_file): Uninitialized data wasn't
exported with --export-all-symbols switch.

* pe-dll.c (fill_edata): rearrange the data so that ordinals and
noname work properly.
2000-09-28 20:53:40 +00:00
Alan Modra 47d89dba5e .plt stub for lazy linking, --stub-group-size=N ld switch,
import stub fix, extra DIR14F reloc to fix abort in tc_gen_reloc
2000-09-27 17:30:19 +00:00
Nick Clifton 36bdbeeca5 Conditionalise the embedded relocs feature on the m68*-*-elf target 2000-09-22 00:41:50 +00:00
Kazu Hirata 6d5e62f8b5 2000-09-21 Kazu Hirata <kazu@hxi.com>
* ldmain.c: Fix formatting.
	* ldmisc.c: Likewise.
	* ldver.c: Likewise.
	* ldwrite.c: Likewise.
2000-09-21 20:21:59 +00:00
Alan Modra e2eb67d9cb Silence gcc warning. 2000-09-21 14:21:24 +00:00
Alan Modra b3ea35849f Handle out of memory situations. 2000-09-20 04:20:26 +00:00
Alan Modra 25f7275229 Group stub sections. 2000-09-18 12:22:43 +00:00
Nick Clifton 0752970ef8 add support for embedded relocs in m68k ELF port 2000-09-15 18:52:52 +00:00
Alan Modra 92b7e9d81a (DATA_START_SYMBOLS): Provide $global$ only as needed. 2000-09-15 10:42:27 +00:00
Nick Clifton 9b14b192bb Disable relaxation if multiple symbol definitions are encountered - otherwise
the linker could abort with an assertion failure.
2000-09-14 01:39:42 +00:00
Nick Clifton 891fa26635 Fix formatting 2000-09-10 19:53:58 +00:00
H.J. Lu 5d64ca4ed3 2000-09-07 H.J. Lu <hjl@gnu.org>
* configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
	* configure: Rebuild.
2000-09-07 21:08:51 +00:00
H.J. Lu dd94604f29 2000-09-07 H.J. Lu <hjl@gnu.org>
* Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
	* Makefile.in: Rebuild.
2000-09-07 19:52:17 +00:00
Alan Modra ed15ac6a0a Fix an orphan section problem caused by weird linker scripts. 2000-09-07 09:09:19 +00:00
Alan Modra 71bfc0aef6 Fix list handling for orphan section output statements. 2000-09-07 07:08:58 +00:00
Alexandre Oliva 4a428502cb * configure.tgt (sh-*-linux*): Added.
* Makefile.am: Added eshelf_linux and eshlelf_linux.
* Makefile.in: Rebuilt.
* emulparams/shelf_linux.sh: New file.
* emulparams/shlelf_linux.sh: New file.
2000-09-07 04:32:05 +00:00
Alan Modra f998903041 Fix place_orphan crash. 2000-09-06 15:28:25 +00:00
Alexandre Oliva 58cccadbd4 * configure: Rebuilt with new libtool.m4. 2000-09-06 13:57:41 +00:00
Alan Modra 50bbae350b Correct gas/ChangeLog 2000-06-23 entry, which I thought I'd fixed
already.  Other changes are whitespace.
2000-09-06 02:58:59 +00:00
Nick Clifton 5b343f5ae8 Regenerate files using fixed aclocal install. 2000-09-06 00:13:34 +00:00
Alan Modra 3231d22e8f Shared lib support for elf32-hppa 2000-09-05 04:07:46 +00:00
Alan Modra 5f992e6228 A tidy of ld/ldlang.c, and add missing Makefile dependencies
I should have added with the 2000-07-28 patch.
2000-09-05 03:21:16 +00:00
Alan Modra a854a4a7c8 --split-by-reloc, --split-by-file extensions. --unique option. 2000-09-05 03:05:19 +00:00
Nick Clifton 6ddeca85d5 Fix formatting and spelling msitakes 2000-09-03 19:47:59 +00:00
Nick Clifton 18e03609ef Increase minor version number (to 2.10.91) to help tools detect the new
ability to support removal of duplciate DWARF@ debug information.
2000-09-02 21:35:47 +00:00
Nick Clifton 3a9d486c00 Add .gnu.linkonce.wi.* to .debug_info sections. 2000-09-02 20:43:22 +00:00
Alexandre Oliva ac48eca1ad * acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.
2000-08-31 09:46:11 +00:00
Alexandre Oliva 6545f5fb9f * ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
sh-*-*): With dwarf-2, `undefined function' can't pass.
2000-08-30 22:01:47 +00:00
Nick Clifton c13b1b775b When choosing the target for a particular endianness, do nothing if the target
is not supported.
2000-08-25 20:44:09 +00:00
H.J. Lu dcb0bd0eef 2000-08-24 H.J. Lu <hjl@gnu.org>
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
	check -rpath nor LD_RUN_PATH for cross link.
	* ld.texinfo: Document the change.
2000-08-25 20:24:11 +00:00
Hans-Peter Nilsson 5bcac8a48e * NEWS: Mention support for CRIS. 2000-08-24 17:42:52 +00:00
H.J. Lu 6dd8c765d3 2000-08-23 H.J. Lu <hjl@gnu.org>
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
	the current runpath list from bfd_elf_get_runpath_list ()
	before search.
2000-08-23 23:03:00 +00:00
H.J. Lu a8175964e0 Change News to NEWS. 2000-08-23 16:42:13 +00:00
H.J. Lu ec4eb78a39 2000-08-22 H.J. Lu <hjl@gnu.org>
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
	the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
	LD_LIBRARY_PATH for native linker. Display the needed DSO if
	trace_file_tries is non-zero.
	(gld${EMULATION_NAME}_try_needed): Report the needed DSO found
	if trace_file_tries is non-zero.

	* ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
	* News: Mention it.
2000-08-22 19:34:37 +00:00
Jason Eckhardt 22b36938e7 2000-08-14 Jason Eckhardt <jle@cygnus.com>
* NEWS: Mention i860 support.
2000-08-14 18:50:13 +00:00
Andreas Schwab d73e9da0eb * scripttempl/elf.sc: Fix last change to use correct comment
syntax.
2000-08-14 08:59:40 +00:00
Geoffrey Keating 9ac4db9c1c * scripttempl/elf.sc: Add a comment giving the correspondence
between sections, per-datum sections, and linkonce sections.  Make
the comment true even for .bss, .sdata, .sdata2, .sbss, and
.sbss2.
2000-08-10 23:43:57 +00:00
Jason Eckhardt 165589e4ad 2000-08-10 Jason Eckhardt <jle@cygnus.com>
* emulparams/elf32_i860.sh: New file.
        * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
        * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
        (eelf32_i860.c): New rule.
        * Makefile.in: Regenerate.
2000-08-10 20:40:39 +00:00