Nick Clifton
c20ec07b9a
Support the GCC flags '-ffunction-sections' and '-fdata-sections'.
...
Set the VMA of STABS sections to zero.
2001-03-23 23:05:07 +00:00
Ulrich Drepper
cc5ce05235
* emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
...
is an absolute path look only for this file and not along the path.
2001-03-20 18:39:21 +00:00
Ulrich Drepper
a1ab1d2aa3
* emultempl/elf32.em (OPTION_GROUP): New macro.
...
Add new option Bgroup to longopts.
(gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
(gld*_list_options): Add -Bgroup and -z defs.
* ld.1: Document -Bgroup and -z defs.
* ld.texinfo: Likewise.
2001-03-17 21:24:26 +00:00
Nick Clifton
a2b64bede3
Fixtypos in ChangeLogs, fix copyright dates in files
2001-03-13 06:14:29 +00:00
Michael Meissner
788fca5a32
Add support for -fdata-sections
2001-03-08 02:20:25 +00:00
Alan Modra
1c7566d167
* emultempl/m68kelf.em (m68k_elf_after_allocation): Call
...
after_allocation_default, not gld..._before_allocation.
2001-03-05 05:02:03 +00:00
Matthew Hiller
c19bd1c6f4
*** empty log message ***
2001-03-01 19:39:30 +00:00
Matthew Hiller
1688b748f1
2001-02-28 Matt Hiller <hiller@redhat.com>
...
* testsuite/ld-scripts/crossref.exp: Initialize flags to
[big_or_little_endian].
* testsuite/ld-undefined/undefined.exp: Ditto, and include $flags
in ld invocations.
* testsuite/lib/ld-lib.exp (big_or_little_endian): Recognize -EB,
-eb, EL and el.
(is_endian_output_format): New function.
(default_ld_link): Set flags to [big_or_little_endian] only if ld
is being invoked such that the output format being used is of
known endianness.
(default_ld_simple_link): Ditto.
2001-03-01 19:13:27 +00:00
Alan Modra
27b7e12d2d
Bump version to 2.11.90, fix missing dependencies in bfd/,
...
and run "make dep-am".
2001-02-27 06:43:56 +00:00
Timothy Wall
2bc551c701
Add aix5 settings.
2001-02-27 03:23:00 +00:00
Nick Clifton
1276aefac0
BFD: Catch & report unhandled PE section flags.
...
LD: Catch BFD errors whilst loading symbols and do not produce an executable.
2001-02-27 01:38:06 +00:00
Timothy Wall
41c4999810
Add ia64-*-aix* configuration.
2001-02-22 17:24:33 +00:00
Kazu Hirata
1ac7e077c9
Fix a typo.
2001-02-21 00:19:45 +00:00
H.J. Lu
78f85fd798
2001-02-20 H.J. Lu <hjl@gnu.org>
...
* ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
false if we found the file.
2001-02-20 21:07:24 +00:00
David O'Brien
fb33b90691
001-02-18 David O'Brien <obrien@FreeBSD.org>
...
* configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
Approved by: Philip Blundell <philb@gnu.org>
Message-Id: <E14URxF-00023n-00@kings-cross.london.uk.eu.org>
2001-02-19 06:51:51 +00:00
Nick Clifton
e135f41bc2
Add PDP-11 support
2001-02-18 23:33:11 +00:00
David O'Brien
a842aceb48
2001-02-17 David O'Brien <obrien@FreeBSD.org>
...
* configure.host: Add a generic FreeBSD configuration entry such that
all [modern] FreeBSD systems on all platforms will look the same.
Approved by: Alan Modra <alan@linuxcare.com.au>
<Pine.LNX.4.21.0102172155140.30011-100000@front.linuxcare.com.au>
2001-02-18 02:17:24 +00:00
H.J. Lu
24174db0fa
2001-02-14 H.J. Lu <hjl@gnu.org>
...
* configure.tgt: Remove mention of earmelf_linux26.
2001-02-14 18:34:13 +00:00
Richard Henderson
30c3c13a92
* emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
2001-02-13 23:07:54 +00:00
H.J. Lu
b46a87b160
2001-02-13 H.J. Lu <hjl@gnu.org>
...
* ldexp.h (node_type): Add etree_provided.
* ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
type to etree_provided if defined by PROVIDE. Allow updating
for etree_provided.
(exp_print_tree): Handle etree_provided.
* mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
etree_provided.
2001-02-13 22:23:33 +00:00
Richard Henderson
f3988fd901
* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
...
.IA_64.unwind.* pattern to unwind table section and
.IA_64.unwind_info* pattern to unwind info section.
2001-02-10 01:44:39 +00:00
Nick Clifton
a85d7ed0f0
Add s390 support
2001-02-10 00:58:38 +00:00
Jakub Jelinek
780248c402
* configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
...
targ_extra_libpath.
(sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
2001-02-09 15:55:14 +00:00
Phil Blundell
0e2534bd04
2001-02-06 Philip Blundell <philb@gnu.org>
...
* Makefile.am: Remove mention of earmelf_linux26.
* Makefile.in: Regenerate.
2001-02-06 08:19:34 +00:00
Phil Blundell
46c1ea57dc
2001-02-04 Philip Blundell <philb@gnu.org>
...
* emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
* emulparams/armelf_linux26.sh: Delete.
* configure.tgt: Remove mention of armelf_linux26 emulation.
2001-02-04 14:01:35 +00:00
Nick Clifton
0088edd2a0
Replace occurances of -oformat with --oformat.
2001-02-01 18:44:43 +00:00
Alan Modra
02aa14fb32
(lang_leave_overlay): Don't set lma_region when load_base is specified.
2001-01-25 02:31:42 +00:00
Hans-Peter Nilsson
f813923cf3
* emultempl/elf32.em: Correct spelling in comments and listed
...
options.
2001-01-24 06:14:09 +00:00
Alan Modra
c1eb148815
Only set lma_region from the default for the first section
...
of a group of overlay sections.
2001-01-23 11:48:28 +00:00
Alan Modra
d9fc371418
Allow Maciej to select weird --libdir options and still select
...
tooldir correctly.
2001-01-22 13:50:17 +00:00
Jim Wilson
6be0ca9435
Fix gp overflow problem with Intel compiler.
...
* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
and IA_64.unwind.info.
2001-01-16 23:44:26 +00:00
H.J. Lu
b92473047e
2001-01-16 H.J. Lu <hjl@gnu.org>
...
* ldlang.c (lang_check): Merge the private data only if the
input file has contents.
2001-01-16 21:04:29 +00:00
Alan Modra
d952f17a9d
Linux target variants for elfxx-hppa.
2001-01-14 11:12:53 +00:00
Alan Modra
ffd6e9debc
Automatically enable --unique=.text for elf32-hppa.
2001-01-14 07:39:01 +00:00
Alan Modra
577a062318
Extend "ld --unique" functionality.
2001-01-14 04:36:35 +00:00
Nick Clifton
b7ed8fad53
formatting fix
2001-01-13 19:45:52 +00:00
Nick Clifton
d0398d6ac6
Update copyright date to 2001
2001-01-12 18:01:56 +00:00
Phil Blundell
350fdb00d3
Add support for cygwin libraries
2001-01-12 12:43:10 +00:00
Nick Clifton
2f6d2f8520
Rotate ChangeLogs
2001-01-11 19:01:42 +00:00
Kazu Hirata
69f069696b
2001-01-10 Kazu Hirata <kazu@hxi.com>
...
* scripttempl/h8500.sc: Fix formatting.
* scripttempl/h8500b.sc: Likewise.
* scripttempl/h8500c.sc: Likewise.
* scripttempl/h8500m.sc: Likewise.
* scripttempl/h8500s.sc: Likewise.
2001-01-10 18:58:36 +00:00
Kazu Hirata
60c6797e42
2001-01-10 Kazu Hirata <kazu@hxi.com>
...
* scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
* scripttempl/h8300h.sc: Fix formatting.
* scripttempl/h8300s.sc: Likewise.
2001-01-10 11:42:27 +00:00
David O'Brien
482e8b3206
2000-01-07 David O'Brien <obrien@BSDi.com>
...
* emultempl/elf32.em: Only perform Linux ld hints processing when
targeting Linux.
Approved by: Nick Clifton <nickc@redhat.com>
Message-Id: <200101040127.RAA15127@elmo.cygnus.com>
2001-01-08 05:25:58 +00:00
Phil Blundell
d7ed7ca67b
2001-01-07 Philip Blundell <philb@gnu.org>
...
* ld.texinfo (Bug Reporting): Update email address for reports.
2001-01-07 15:12:04 +00:00
Nick Clifton
0fc3347a5c
Fix problems with new EXACTLY_TWO_DASHES command line switch option.
2000-12-31 19:56:04 +00:00
Nick Clifton
e4897a3288
Requre that long options starting with 'o' only accept a double dash prefix.
2000-12-28 19:54:33 +00:00
Nick Clifton
1122a5fc50
Add --no-default-excludes option for PE targets
2000-12-26 20:55:30 +00:00
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
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
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
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
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
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
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
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
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
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
Nick Clifton
345a835d18
Add defintion of ENTRY
2000-08-10 19:07:26 +00:00
Nick Clifton
e374f1d977
Refer to -rpath not --rpath in error message
2000-08-09 00:51:42 +00:00
Nick Clifton
236d5abf99
Define __bss_size symbol to indicate the final size of .bss section.
2000-08-08 22:04:32 +00:00
Alan Modra
4b209b2234
Keep track of last optind value, and rename a couple of functions
...
for consistency.
2000-08-04 04:41:33 +00:00
Alan Modra
28423a689e
Select elf for Unixware 7 (ix86-*-sysv5*)
2000-08-03 01:01:05 +00:00
H.J. Lu
b2009ff751
2000-07-27 H.J. Lu <hjl@gnu.org>
...
* emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
(PARSE_AND_LIST_PROLOGUE): New.
(PARSE_AND_LIST_LONGOPTS): Likewise.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Likewise.
(PARSE_AND_LIST_EPILOGUE): Likewise.
2000-07-28 01:53:29 +00:00
Alan Modra
41392f033d
Add some shell variables and shell code to elf32.em
...
to allow elf32.em to be used by ports that require
some minor variations or a few extra functions.
Implement for hppaelf and armelf.
Fix header file include order in m68kcoff.em
2000-07-28 01:33:14 +00:00
Alan Modra
04925e1e0b
Move functions around in preparation for next patch
2000-07-28 01:07:09 +00:00
Nick Clifton
88cdf29775
Implement -taso command line option.
2000-07-28 00:57:45 +00:00
Nick Clifton
20bccb3485
Applied Michael's Sokolov's patch to implement --embedded-relocs for m68k coff.
2000-07-21 23:31:53 +00:00
H.J. Lu
699845ef7b
2000-07-20 H.J. Lu <hjl@gnu.org>
...
* emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
and "disable-new-dtags" to stop getopt from treating -d/-e as
abbreviations for these options.
2000-07-20 21:59:40 +00:00
H.J. Lu
6c1439be21
2000-07-20 H.J. Lu <hjl@gnu.org>
...
* ld.texinfo: Add documentation for --disable-new-dtags and
--enable-new-dtags.
* ldmain.c (main): Initialize link_info.new_dtags to false.
* emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
--disable-new-dtags and --enable-new-dtags.
(gld_${EMULATION_NAME}_list_options): Likewise.
2000-07-20 21:18:23 +00:00
Nick Clifton
28c309a287
Add optional style argument to --demangle switch.
2000-07-20 18:02:56 +00:00
Hans-Peter Nilsson
9d06555c53
* Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
...
ecrislinux.o.
(ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
Regenerate dependencies.
* Makefile.in: Rebuild.
* configure.tgt (cris-*-*): New target.
* emulparams/crisaout.sh, emulparams/criself.sh,
emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
* po/POTFILES.in, po/ld.pot: Regenerate.
2000-07-20 17:16:06 +00:00
H.J. Lu
19e3be22a4
2000-07-20 H.J. Lu <hjl@gnu.org>
...
* emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
Print out ignored -z options.
2000-07-20 16:13:26 +00:00
H.J. Lu
e0ee487bb5
2000-07-19 H.J. Lu <hjl@gnu.org>
...
* emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
(PARSE_AND_LIST_PROLOGUE): New.
(PARSE_AND_LIST_LONGOPTS): Likewise.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Likewise.
* ldmain.c (main): Clear link_info.flags and link_info.flags_1.
* lexsup.c (ld_options): Comment out 'z'.
(parse_args): Likewise.
* emultempl/elf32.em: Include "elf/common.h".
(gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
options.
(gld_${EMULATION_NAME}_list_options): Likewise.
* ld.texinfo: Add documentation for the recognized -z options.
2000-07-20 03:25:10 +00:00
H.J. Lu
49e56c493d
2000-07-19 H.J. Lu <hjl@gnu.org>
...
* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
bfd_elf_set_dt_needed_soname ().
2000-07-20 03:17:32 +00:00
DJ Delorie
9d68bc829c
* pe-dll.c (pe_dll_id_target): check object target name also
2000-07-19 00:04:04 +00:00
Hans-Peter Nilsson
53db15ed2a
* scripttempl/elf.sc (.init): Only do ${INIT_START} and
...
${INIT_END} if relocating.
(.fini): Likewise ${FINI_START} and ${FINI_END}.
2000-07-17 22:41:08 +00:00
DJ Delorie
0ad8cf4c25
* src/ld/emultempl/pe.em (gld_*_open_dynamic_archive): New search
...
order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
errors introduced by the old dynamic lib search order.
2000-07-17 18:59:58 +00:00
DJ Delorie
874c8c99db
* pe-dll.c (process_def_file): auto-export data items also
...
(pe_process_import_defs): also see if _imp_ form needed
2000-07-17 18:40:47 +00:00
DJ Delorie
5b4cf3f497
* pe-dll.c (make_one): fix a typo in the __imp_ name decoration
...
for dll import libraries
2000-07-13 00:51:40 +00:00