Commit Graph

235 Commits

Author SHA1 Message Date
Nick Clifton
690a460e0c Apply patch from Charles Wilson to make PE ports search for dynamic libraries
in foo.dll and libfoo.dll before libfoo.a.
2000-05-16 20:53:26 +00:00
Alan Modra
c2f1343c8b Update printed copyright. 2000-05-15 02:17:52 +00:00
H.J. Lu
6fc49d288b 2000-05-13 H.J. Lu (hjl@gnu.org)
* lib/ld-lib.exp (default_ld_link): Redirect the linker output
	to link_output and make it global.

	* ld-elfvsb/elf-offset.ld: New. ELF visibility fearture
	tests.
	* ld-elfvsb/elfvsb.dat: Likewise.
	* ld-elfvsb/elfvsb.exp: Likewise.
	* ld-elfvsb/main.c: Likewise.
	* ld-elfvsb/sh1.c: Likewise.
	* ld-elfvsb/sh2.c: Likewise.
2000-05-13 16:54:32 +00:00
Alan Modra
897083bdcd Quell some gcc warnings by defining textdomain and bindtextdomain
as intl/libgettext.h does.
2000-05-13 13:05:36 +00:00
H.J. Lu
cd4c806ac9 2000-05-10 H.J. Lu <hjl@gnu.org>
* ldlang.c (open_input_bfds): Don't load the same file within
	a group again if the whole archive has been loaded already.
2000-05-10 23:12:35 +00:00
Alan Modra
9369728402 Fix 64 bit target section start on 32 bit machine. 2000-05-03 11:22:42 +00:00
Jim Wilson
99a4150f8b Fix just added ia64-linux support to conform with others.
* configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
2000-05-02 00:58:51 +00:00
Jim Wilson
ebd6fc2935 Ld testsuite support for ia64-linux.
* configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
	host "ia64-*-linux-gnu*".
2000-05-02 00:39:34 +00:00
Alan Modra
a1934524a3 Correctly check gcc version. 2000-04-29 00:56:29 +00:00
Jeff Law
730a39a0a3 * Makefile.am: Add PA64 support. Add missing dependencies for
PA32 elf support.
        * Makefile.in: Rebuilt.
        * configure.tgt: Add PA64 support (currently disabled).
2000-04-25 17:21:28 +00:00
Alan Modra
aea4bd9d34 place_orphan optimisations 2000-04-25 05:14:16 +00:00
Nick Clifton
2b5fc1f5d0 Note that output section data commands can only appear inside output section
descriptions and not between them.
2000-04-25 00:27:24 +00:00
Jim Wilson
b32711aa6a A misc IA-64 ELF patch I missed in the first pass.
* testsuite/ld-scripts/phdrs.exp: IA-64 is 64-bit ELF too.
2000-04-21 22:17:28 +00:00
Jeff Law
d8475ff6b6 * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support. 2000-04-21 21:52:48 +00:00
Jim Wilson
800eeca487 IA-64 ELF support. 2000-04-21 20:22:24 +00:00
Richard Henderson
c9637625e4 * scripttempl/elfd30v.sc: Place .gcc_except_table. 2000-04-21 17:29:15 +00:00
Alan Modra
28ea9521fe Match space at start of file name, not end. 2000-04-20 02:13:01 +00:00
H.J. Lu
20d04697a8 2000-04-18 H.J. Lu <hjl@gnu.org>
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
	lang_leave_output_section_statement () after calling
	lang_enter_output_section_statement ().
	* emultempl/armelf.em: Likewise.
2000-04-18 23:39:03 +00:00
Alan Modra
5ba474214c Yet another set of fixes for orphan sections. 2000-04-18 05:53:41 +00:00
Geoffrey Keating
bdbe570575 * scripttempl/elfppc.sc: Remove.
* emulparams/elf32ppc.sh: Use elf.sc.
* emulparams/elf32lppc.sh: Use elf.sc.
* emulparams/elf32ppclinux.sh: Use elf.sc.
* emulparams/elf32ppcsim.sh: New file.
* emulparams/elf32lppcsim.sh: New file.
* Makefile.am: Update dependencies.  Add elf32ppcsim ad elf32lppcsim.
(ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
* Makefile.in: Regenerate.
* configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
2000-04-14 21:18:23 +00:00
Alan Modra
01cc8ff856 Zero start address of orphan ~(SEC_LOAD | SEC_ALLOC) sections. 2000-04-14 01:58:29 +00:00
Geoffrey Keating
4ab10e93d6 Correct previous misapplied patch. 2000-04-13 23:38:46 +00:00
Geoffrey Keating
6c86c54107 * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
Add new BSS_PLT variable for when .plt need not be contained in
the file.  Move _etext so that it is also after .fini, and provide
both etext and _etext with a leading underscore.  Mark the start
and end of .sbss.
2000-04-13 23:32:48 +00:00
Alan Modra
62043cea9b Add workaround for gcc-2.95.2 failure. 2000-04-12 12:55:06 +00:00
Alan Modra
e76e4c9104 (test4): Test for presence of foo__1B, not absence 2000-04-12 12:47:25 +00:00
Alan Modra
3017ff0eca (test4): Delete incorrect foo__1B test. Reformat file. 2000-04-12 03:44:15 +00:00
Alan Modra
6a345e871d Keep output orphan sections in the same order as input. 2000-04-12 02:43:37 +00:00
Alan Modra
8be867464d Remove extraneous paragraph. 2000-04-11 11:39:38 +00:00
Andrew Cagney
a2d91340f3 Remove ``-W -Wall'' from top-level Makefile/configure.
Add ``-W -Wall'' to sub-directories bfd, binutils, gas gprof, ld and
opcodes by the addition of WARN_CFLAGS to Makefile.am and configury to
set it.  Add configure option --enable-build-warnings.
Re-generate all and sundry using auto*-000227.
2000-04-09 12:17:43 +00:00
Timothy Wall
5948916f52 Note new "AT>" feature. 2000-04-07 17:04:19 +00:00
Alan Modra
8ad3436c79 Move translated part of bug report string back into .c files so
xgettext can find it.  Regnerate .pot files.
2000-04-04 14:32:35 +00:00
Alan Modra
41b49281c1 Use "gcc -MM" for dependencies, and update them. 2000-04-04 10:53:56 +00:00
Alan Modra
c20f4f8c21 Move bug report string to one place. 2000-04-03 14:10:05 +00:00
Alan Modra
adde6300e0 ATMEL AVR microcontroller support. 2000-03-27 08:39:14 +00:00
Nick Clifton
e40eb3e94d discard all unexpected sections. 2000-03-14 01:40:30 +00:00
H.J. Lu
9282ff4155 2000-03-09 Andreas Jaeger <aj@suse.de>
* Makefile.am (check-DEJAGNU): Also unset LANG.
	* Makefile.in: Rebuild.
2000-03-09 16:41:21 +00:00
Ian Lance Taylor
a999880517 * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
archive.
2000-03-06 18:08:38 +00:00
Nick Clifton
f9bc20e78d Include getopt.h 2000-03-02 18:37:14 +00:00
Ian Lance Taylor
4e277b3808 * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware. 2000-03-02 01:35:52 +00:00
Ian Lance Taylor
9b1d3b78a3 mention new -Bsymbolic behaviour 2000-03-02 01:26:27 +00:00
Nick Clifton
f0c87f889d Fix building with --enable-targets=all. 2000-03-01 20:54:37 +00:00
H.J. Lu
b6f29aaaea 2000-03-01 H.J. Lu <hjl@gnu.org>
* ldmain.c (undefined_symbol): Take one more arg, fatal, to
	indicate if the undefined symbol is a fatal error or not.
	Don't delete the output file if "fatal" is false.
2000-03-01 19:37:03 +00:00
H.J. Lu
af28fce3e5 2000-02-29 H.J. Lu <hjl@gnu.org>
* Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
	Set LC_COLLATE and LC_ALL to null and export them. It is for
	sort which expects the C locale.
	Add $(LIBS) to all $(HOSTING_LIBS).
	* Makefile.in: Rebuild.
2000-02-29 19:52:31 +00:00
Alan Modra
40d109bfbc GCC warning fix: Add missing NULL initialiser for find_potential_libraries. 2000-02-29 05:53:53 +00:00
Jim Blandy
db5be682e7 *** empty log message *** 2000-02-29 03:29:27 +00:00
Jim Blandy
765b7cbe05 * ldgram.y (exclude_name_list): Don't require a comma to separate
list entries; the lexer considers commas to be valid part of a
filename, so in something like `foo, bar' the comma is considered
part of the first filename, `foo,'.
* ld.texinfo: Update section on EXCLUDE_FILE lists.
2000-02-29 03:28:57 +00:00
Ian Lance Taylor
3558ff4cdb 2000-02-27 Loren J. Rittle <ljrittle@acm.org>
* configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
	host "i[3456]86-*-freebsdelf*".
2000-02-28 04:31:30 +00:00
Ian Lance Taylor
4eee26817d 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
* scripttempl/i386go32.sc: Move misplaced semicolons.
2000-02-28 03:55:16 +00:00
H.J. Lu
d1bcade6ba 2000-02-27 H.J. Lu (hjl@gnu.org)
* lib/ld-lib.exp (default_ld_link): Added "$LIBS" to libs.
2000-02-27 18:59:40 +00:00
Ian Lance Taylor
a74801baf8 rebuild with current tools 2000-02-27 16:55:52 +00:00