Commit Graph

399 Commits

Author SHA1 Message Date
Nick Clifton
037849a9a0 Revert the last beautification with "innocent" whitespace,
it breaks the K&R C preprocessor.
2000-12-13 18:28:52 +00:00
DJ Delorie
7ec229cebe * ld.texinfo: Add notes about --whole-archive and gcc. 2000-12-12 22:37:20 +00:00
Nick Clifton
b79e8c7865 Add link option to allow undefiedn symbols in shared libraries 2000-12-12 20:53:02 +00:00
Geoffrey Keating
9a8e2505e8 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
.fixup is actually read/write.
	* emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
	* emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
	* emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2000-12-12 20:15:21 +00:00
Nick Clifton
6d02a66752 Remove spurious whitespace 2000-12-12 19:37:01 +00:00
Jan Hubicka
b8355149f8 * NEWS: Add note about x86_64 architecture.
* MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2000-12-11 13:49:46 +00:00
Nick Clifton
f66736412d Fix v850 test failures 2000-12-09 23:44:17 +00:00
Nick Clifton
bad19f8fb6 Expect the srec_test to fail for ARM targets because the -oformat linker
command switch cannot be used.
2000-12-09 20:24:34 +00:00
DJ Delorie
93b63cd3a0 * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
Set DWARF2 sections to a VMA of zero.
2000-12-06 16:39:51 +00:00
Nick Clifton
24f6971a0f Update RTEMS targets 2000-12-01 18:28:58 +00:00
Nick Clifton
2be3aa031f Add support for x86_64-*-linux-gnu* target 2000-11-30 19:30:33 +00:00
Hans-Peter Nilsson
8c8998585a * emulparams/crislinux.sh (ENTRY): Change back to _start.
(TEXT_START_SYMBOLS): Remove conditional setting of __start.

	* scripttempl/crisaout.sc: Change all RELOCATING not related to
	merging non-a.out sections into CONSTRUCTING.
2000-11-30 15:08:44 +00:00
Nick Clifton
e47b9e39bc Move GNU Free Documentation License from the output into a comment 2000-11-28 20:40:35 +00:00
David O'Brien
ad95f82a09 2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
* emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
	does not use them.

Approved by:  Richard Henderson <rth@twiddle.net>
              Message-ID: <20001127014059.A16638@twiddle.net>
2000-11-28 10:43:11 +00:00
David O'Brien
fd89e65f16 2000-11-25 David O'Brien <obrien@FreeBSD.org>
* ld.1: Remove old date so it does not give the impression the
	manpage is way out of date.

Approved by:  Nick Clifton <nickc@redhat.com>
              <200011250036.QAA09984@elmo.cygnus.com>
2000-11-25 10:58:09 +00:00
Nick Clifton
077b8428ab Add ARM v5t, v5te and XScale support 2000-11-25 00:21:40 +00:00
Nick Clifton
49425d281c Remove redundant init of config.make_executable to true. 2000-11-24 21:31:21 +00:00
Richard Henderson
d34802440c * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M. 2000-11-15 23:16:30 +00:00
Kazu Hirata
1ce7de8b08 2000-11-14 Kazu Hirata <kazu@hxi.com>
* scripttempl/h8300.sc: Fix formatting.
	* scripttempl/h8300h.sc: Likewise.
	* scripttempl/h8300s.sc: Likewise.
2000-11-14 19:17:53 +00:00
Denis Chertykov
208d5cd0ad * scripttempl/elf32avr.sc: Fix bug in .eeprom segment. 2000-11-13 22:26:38 +00:00
Phil Blundell
2e41854770 2000-11-09 Philip Blundell <pb@futuretv.com>
* emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
	around orphan sections whose names can be represented in C.
2000-11-13 10:15:23 +00:00
Jim Wilson
c940e6fcdf Handle srdata sections emitted by Intel compiler.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
	hold_sdata.  If SEC_SMALL_DATA set, set place to hold_sdata.
2000-11-08 00:39:32 +00:00
Nick Clifton
cf055d540c Add GNU Free Documentation License 2000-11-06 20:27:26 +00:00
Nick Clifton
704c465c23 Add GNU Free Documentation License 2000-11-06 19:24:16 +00:00
Alan Modra
1566ad5dd3 Fix compilation warnings as otherwise we fail the test. 2000-11-06 10:07:06 +00:00
Alan Modra
dca7760fb5 * ldlex.l (yy_create_string_buffer): Init all structure fields.
* Makefile.am (DISTCLEANFILES): Add stringify.sed.
Move 2000-11-02 Makefile.in changes to this file.
2000-11-05 06:27:15 +00:00
Nick Clifton
40a633d5ca Use ${CONSTRUCTING...} to enclose constructors and destructors. 2000-11-03 19:49:05 +00:00
Nick Clifton
59ff2774bb Add support for *-storm-chaos target 2000-11-02 23:03:24 +00:00
Hans-Peter Nilsson
4291c3fa65 * ld-selective/selective.exp <no CXX>: Fix typo for argument to
"untested".
2000-10-29 17:21:03 +00:00
Jakub Jelinek
645571e107 * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
	Fix sed invocation, so that it coped with '/' in Solaris 64bit
	library path suffix.
	Based on patch by Andrew Macleod <amacleod@cygnus.com>.
2000-10-20 10:58:32 +00:00
H.J. Lu
d1d8dddfbd 2000-10-19 H.J. Lu (hjl@gnu.org)
* ld-elfvsb/elfvsb.exp (visibility_run): Set expected failures
	for Linux/PPC.
	* ld-shared/shared.exp: Likewise.
2000-10-19 19:52:28 +00:00
Hans-Peter Nilsson
c5975a4546 * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
for consecutive sections.
2000-10-18 13:10:12 +00:00
Chandra Chavva
ea20a7da87 Added new option --target-help. 2000-10-17 20:10:20 +00:00
Nick Clifton
6e45556a36 Add tests of return values from bfd function calls 2000-10-16 19:08:45 +00:00
Nick Clifton
102c86f873 Oops - fix mistake in previous delta where unused variable 'nsyms' was
deleted, but along with its (necessary) call to bfd_canonicalize_symtab.
2000-10-13 20:41:08 +00:00
Nick Clifton
b9a6918857 Add #ifdef DLL_SUPPORT around use of pe_dll_search_prefix. 2000-10-13 20:16:03 +00:00
DJ Delorie
627427debc * emultempl/pe.em (pe_dll_search_prefix): New variable,
(longopts): New --dll-search-prefix option.
(gld_${EMULATION_NAME}_list_options): Document.
(gld_${EMULATION_NAME}_parse_args): Handle.
(gld_${EMULATION_NAME}_open_dynamic_archive): When linking
dynamically, search for a dll named '<prefix><basename>.dll'
in preference to 'lib<basename>.dll' if --dll-search-prefix
is specified.
2000-10-12 19:18:20 +00:00
Alan Modra
24376d1b58 Another try at correcting relocations against discarded
link-once section symbols.
2000-10-12 03:44:51 +00:00
Kazu Hirata
e47d05ade6 2000-10-10 Kazu Hirata <kazu@hxi.com>
* deffile.h: Fix formatting.
	* lexsup.c: Likewise.
	* mri.c: Likewise.
2000-10-11 00:16:07 +00:00
DJ Delorie
23a87948dd * pe-dll.c (make_one): Do not generate code thunk for DATA
exports.
(process_def_file): deduce DATA flag for auto-export sumbols.
2000-10-10 03:28:01 +00:00
Kazu Hirata
7bfd51a382 2000-10-09 Kazu Hirata <kazu@hxi.com>
* pe-dll.c: Revert some formatting fixes.
2000-10-09 15:46:45 +00:00
Kazu Hirata
89cdebba13 2000-10-09 Kazu Hirata <kazu@hxi.com>
* ldcref.c: Fix formatting.
	* ldctor.h: Likewise.
	* ldemul.c: Likewise.
	* ldemul.h: Likewise.
	* ldexp.c: Likewise.
	* ldexp.h: Likewise.
	* ldfile.c: Likewise.
	* ldfile.h: Likewise.
	* ld.h: Likewise.
	* ldlang.c: Likewise.
	* ldlang.h: Likewise.
	* ldmain.c: Likewise.
2000-10-09 15:09:17 +00:00
Kazu Hirata
86b1cc60c0 2000-10-09 Kazu Hirata <kazu@hxi.com>
* pe-dll.c: Fix formatting.
2000-10-09 07:01:29 +00:00
Kazu Hirata
d643799dab 2000-10-08 Kazu Hirata <kazu@hxi.com>
* pe-dll.c: Fix formatting.
2000-10-09 01:37:11 +00:00
Hans-Peter Nilsson
d63083ef85 * ld-selective/selective.exp: Rearrange to be table-driven. 2000-10-09 01:35:13 +00:00
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