Nick Clifton
39c183c149
Do not require any exception support library. Check results against NRV.
2001-08-01 14:37:47 +00:00
Nick Clifton
22a517d05e
Do not require any exception support library.
2001-08-01 14:26:18 +00:00
Nick Clifton
156e34dd45
Fix computation in SECTIONS example.
2001-07-30 18:12:07 +00:00
H.J. Lu
e0d85c2645
2001-07-27 H.J. Lu <hjl@gnu.org>
...
* ld-selective/selective.exp: Fix the error in the last change.
2001-07-27 17:48:27 +00:00
Alan Modra
067f207480
* ld-selective/selective.exp: Support g++ V3 ABI (along side
...
the old ABI). Make comparisons against normalized (to
V3-style) demangled nm output.
2001-07-24 11:09:24 +00:00
Alan Modra
992c450de8
* config/default.exp (ld_nm): Add "nmflags" arg.
...
* lib/ld-lib.exp (default_ld_nm): Likewise.
* ld-empic/empic.exp: Adjust call to ld_nm.
* ld-scripts/defined.exp: Likewise.
* ld-scripts/script.exp: Likewise.
* ld-scripts/sizeof.exp: Likewise.
* ld-selective/selective.exp: Likewise.
* ld-sh/sh.exp: Likewise.
2001-07-24 11:07:16 +00:00
Alan Modra
d623142740
Update dependencies with "make dep-am".
2001-07-24 10:08:32 +00:00
Alan Modra
e14ec88b39
* ldcref.c (check_section_sym_xref): New function.
...
(check_nocrossrefs): Call it.
(check_nocrossref): Interate over h->refs here instead of..
(check_refs): ..here. Pass in the symbol name, section, and bfd
rather than hash_entry pointers.
(struct check_refs_info): Keep symbol name rather than hash entry.
Remove "same".
(check_reloc_refs): Tweak for above changes in check_refs_info.
Only report references to section syms when symname is NULL to
prevent duplicate messages for the same reloc.
2001-07-23 07:54:04 +00:00
Nick Clifton
c7d701b094
Use stderr if config.map_file is not available. Do not print NULL trees.
2001-07-19 16:41:00 +00:00
Nick Clifton
1545243be0
If a region is specified assign it to all sections inside the overlay unless they have been assigned to the own, non-default, memory region.
2001-07-19 16:21:39 +00:00
Nick Clifton
1b577b00bd
Change bug reporting email address.
2001-07-19 10:43:13 +00:00
H.J. Lu
5030876b5d
2001-07-14 H.J. Lu <hjl@gnu.org>
...
* emultempl/elf32.em (output_prev_sec_find): Never return
bfd_abs_section_ptr, bfd_com_section_ptr nor
bfd_und_section_ptr.
2001-07-14 16:36:25 +00:00
Nick Clifton
18c7a9a534
Fix dependency for em32relf.c
2001-07-14 15:47:17 +00:00
Matthew Green
9ffecff1ce
* configure.tgt (i386-*-netbsdelf*): New target.
...
(i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
2001-07-14 14:45:42 +00:00
Jakub Jelinek
95500e1ca4
* emultempl/elf32.em (output_prev_sec_find): New.
...
(place_orphan): Use it.
2001-07-13 07:25:18 +00:00
H.J. Lu
bbfebd390d
2001-07-12 H.J. Lu <hjl@gnu.org>
...
* ld-selective/selective.exp: Mark selective1, selective2,
selective4 and selective5 xfail on alpha*-*.
2001-07-12 15:03:27 +00:00
H.J. Lu
e97cb84f5a
2001-07-11 H.J. Lu <hjl@gnu.org>
...
* ldmain.c (main): Fix typos in the last change.
2001-07-11 19:50:56 +00:00
Jakub Jelinek
7333607ede
2001-07-11 Jakub Jelinek <jakub@redhat.com>
...
* ldmain.c (main): Disallow -F and -f without -shared.
2001-07-11 14:19:05 +00:00
Nick Clifton
d29d80f20c
Check for the output_bfd not having any coff_data structure allocated to it.
2001-07-11 08:11:16 +00:00
David O'Brien
c2a1a436ff
2001-07-09 David O'Brien <obrien@FreeBSD.org>
...
* emultempl/elf32.em: Do not assuming that contents of the buffer
returned from basename function will remain unchanged accross other
function calls.
NOTE: DJ Delorie recomends doing a basename()->lbasename() conversion.
Approved by: DJ Delorie
<200107100030.UAA01223@envy.delorie.com>
2001-07-10 00:38:16 +00:00
H.J. Lu
63653551a8
2001-07-03 H.J. Lu <hjl@gnu.org>
...
* scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
2001-07-03. It creates dynamic entries even for static binaries.
2001-07-03 23:22:20 +00:00
H.J. Lu
d303a449f2
2001-07-03 Jakub Jelinek <jakub@redhat.com>
...
* scripttempl/elf.sc (DYNAMIC_PAD): New variable.
(DYNAMIC): Use it to reserve few dynamic entries for
post-linking tools.
2001-07-03 17:40:14 +00:00
Alan Modra
9f22353f5b
* emulparams/hppa64linux.sh: New file.
...
* configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
* Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
(ehppa64linux.c): Add rule to make it.
Run "make dep-am".
* Makefile.in: Regenerate.
2001-06-27 08:42:29 +00:00
Hans-Peter Nilsson
62bf86b426
* ld.texinfo (Options, -r): Mention restrictions when using
...
different object formats.
2001-06-20 22:40:13 +00:00
Hans-Peter Nilsson
429d935daa
* ldlang.c (lang_check): Emit fatal error if relocatable link
...
between different object flavours with relocations in input.
2001-06-19 19:57:39 +00:00
H.J. Lu
cb840a31ad
2001-06-19 H.J. Lu <hjl@gnu.org>
...
* ld.texinfo (-E, --export-dynamic): Mention --version-script.
(--version-script): Mention the language support.
2001-06-19 15:22:39 +00:00
H.J. Lu
9bf03accc3
2001-06-19 H.J. Lu <hjl@gnu.org>
...
* ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2001-06-19 14:39:02 +00:00
Nick Clifton
c45021f2d2
Remove auot generated man pages
2001-06-19 11:57:29 +00:00
Hans-Peter Nilsson
605d9b3a4f
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
...
Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
* mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
* ld.h (args_type): Remove member export_dynamic. All users
changed to use struct bfd_link_info member.
2001-06-18 22:20:57 +00:00
Hans-Peter Nilsson
6caa99ab75
* Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
...
$(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
* Makefile.in: Regenerate.
2001-06-18 20:19:52 +00:00
H.J. Lu
6f9efd9751
2001-06-18 H.J. Lu <hjl@gnu.org>
...
* ldlang.c (init_os): Add the newline to the einfo call.
(lang_check): Likewise.
(lang_do_version_exports_section): Likewise.
2001-06-18 17:23:52 +00:00
H.J. Lu
5af9fd8b93
2001-06-15 H.J. Lu <hjl@gnu.org>
...
* lexsup.c (parse_args); Save optind to report unrecognized
option.
2001-06-16 03:41:45 +00:00
Hans-Peter Nilsson
7e66c3f530
* ldlang.c (lang_check): Emit fatal error if relocatable link
...
between different object flavours.
2001-06-15 13:13:46 +00:00
Hans-Peter Nilsson
2a096f0438
* lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
...
Set new link_info member export_dynamic.
* ldmain.c (main): Initialize new link_info member export_dynamic.
2001-06-15 13:02:23 +00:00
Nick Clifton
6770ec8c9e
Chnage load_symbols() to a boolean function
2001-06-15 09:00:11 +00:00
Hans-Peter Nilsson
261def7062
* config/default.exp (AS, GASP, OBJDUMP, NM, NMFLAGS, OBJCOPY,
...
OBJCOPYFLAGS, READELF, READELFFLAGS, LD, LDFLAGS): Provide
default.
* lib/ld-lib.exp (run_dump_test): Import from gas testsuite. Add
new options "ld", "source", "xfail", "target", "notarget" and
"error". Support the runtest_file_p "*.exp=testname" feature.
(slurp_options, regexp_diff, file_contents, verbose_eval): Import
from gas testsuite.
2001-06-13 03:08:21 +00:00
Nick Clifton
1e9f9630d4
Correct setup_xfail rule.
2001-06-12 16:02:13 +00:00
Alan Modra
b6a71ccaa1
Move an entry to the correct ChangeLog.
2001-06-10 13:41:43 +00:00
Alan Modra
8529105a0e
* ldlang.c (record_bfd_errors): Remove.
...
* emultempl/aix.em: Fix copyright dates.
2001-06-08 01:58:20 +00:00
Andreas Jaeger
8f3aa7a03f
* emulparms/elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
...
(TEXT_START_ADDR): Likewise.
2001-06-07 11:18:18 +00:00
H.J. Lu
a5c9dff1ba
Fix a typo.
2001-06-06 21:08:09 +00:00
H.J. Lu
66517a2f18
2001-06-06 H.J. Lu <hjl@gnu.org>
...
* ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
on Linux/mips.
* ld-elfvers/vers.exp: Also run on istarget Linux/mips.
* ld-elfvsb/elfvsb.exp: Likewise.
* ld-shared/shared.exp: Likewise.
* ld-selective/selective.exp: Mark selective2, selective3,
selective4 and selective5 xfail on Linux/mips.
* ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips.
* symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips.
* ld-srec/srec.exp: Add Linux/mips to xfail.
2001-06-06 21:03:59 +00:00
Alan Modra
d52f97627b
* ld-undefined/undefined.exp: Add a setup_xfail line for a test
...
that will always fail on s/390.
2001-06-06 12:11:53 +00:00
Alan Modra
3277f888eb
* configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
2001-06-06 12:11:23 +00:00
DJ Delorie
3763134dca
* emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
2001-06-05 00:48:41 +00:00
H.J. Lu
5929ebc003
2001-05-31 H.J. Lu <hjl@gnu.org>
...
* ldlang.c (open_input_bfds): Don't change the bfd error
handler whilst loading symbols.
2001-05-31 21:14:59 +00:00
Nick Clifton
1e329ce6ac
For sh-*-linux-gnu target add a start address for the text section.
2001-05-28 10:55:23 +00:00
Nick Clifton
c04a062df3
Rmeove i370-mvs architecture - it is not supported.
2001-05-28 08:25:20 +00:00
H.J. Lu
96fcab3e8d
2001-05-25 H.J. Lu <hjl@gnu.org>
...
* emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
like emulparams/aixppc.sh.
2001-05-25 22:49:14 +00:00
H.J. Lu
db8d4f2320
2001-05-25 H.J. Lu <hjl@gnu.org>
...
* emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
setting of output_filename after bfd_scan_arch.
* emultempl/pe.em: Likewise.
2001-05-25 22:48:14 +00:00