Hans-Peter Nilsson
ccaf4e0741
* ld-mmix/sec-1.d: Adjust for changes in padding.
...
* ld-mmix/sec-3.d: Ditto.
2002-07-19 03:30:13 +00:00
H.J. Lu
b42d80615e
2002-07-15 H.J. Lu <hjl@gnu.org>
...
* ld-elfvers/vers.exp: Add vers21.
* ld-elfvers/vers21.c: New.
* ld-elfvers/vers21.dsym: New.
* ld-elfvers/vers21.map: New.
* ld-elfvers/vers21.sym: New.
* ld-elfvers/vers21.ver: New.
2002-07-16 00:15:57 +00:00
Hans-Peter Nilsson
f1cf2c2e58
* ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s,
...
ld-cris/euwref1.s, ld-cris/expdyn3.d, ld-cris/expdyn2.d,
ld-cris/expdref1.s: New tests.
2002-07-12 15:51:54 +00:00
Richard Sandiford
ad42262f8f
* ld-scripts/dynamic-sections*: New test.
2002-07-09 08:47:24 +00:00
Hans-Peter Nilsson
57a4c58413
* ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s,
...
ld-cris/noglob1.d: New tests.
2002-07-09 03:46:49 +00:00
Hans-Peter Nilsson
6030b50afa
* ld-cris/libdso-1.d: Tweak for change in size of dynamic sections.
2002-07-09 00:50:01 +00:00
Alan Modra
3e8cba195d
* lib/ld-lib.exp (default_ld_nm): Run nm with LC_ALL=C to ensure
...
consistent sorting.
(run_dump_test): Likewise for objdump/nm/objcopy/readelf.
* ld-sh/sh64/sh64.exp (run_ld_link_tests): Likewise.
2002-07-02 23:54:39 +00:00
Hans-Peter Nilsson
9f6067066d
* ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,
...
ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test.
2002-06-29 21:33:28 +00:00
Chris Demetriou
e0350bfbf7
2002-06-18 Chris Demetriou <cgd@broadcom.com>
...
* ld-mips-elf/empic2-ref.s: Add a missing .end, apparently
turned up by recent assembler changes.
2002-06-19 01:48:10 +00:00
Tom Rix
4c0b7915d4
Tests for d10v.
2002-06-17 14:05:53 +00:00
Jeff Law
9b17aab627
2002-06-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
...
* ld-scripts/cross1.t: Add .hash, .dynstr and .dynsym sections to
script.
2002-06-12 18:14:48 +00:00
Martin Schwidefsky
704e79f982
AJ found the problem and created the patch.
2002-06-11 13:16:01 +00:00
Martin Schwidefsky
20c4e93273
2002-06-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
...
* ld-undefined/undefined.exp: Add s390x to dwarf2 xfails.
2002-06-11 09:50:44 +00:00
Richard Sandiford
e560f274e3
* ld-mips-elf/region1a.s,
...
* ld-mips-elf/region1b.s,
* ld-mips-elf/region1.t,
* ld-mips-elf/region1.d: New test.
* ld-mips-elf/mips-elf.exp: Run it.
2002-06-10 16:14:08 +00:00
Nick Clifton
1634475f71
Fix phdrs2 test
2002-06-07 10:30:56 +00:00
Nick Clifton
1ed89aa92e
Do not include empty sections in loadable segments.
2002-06-06 10:03:38 +00:00
H.J. Lu
bfba206a7e
2005-06-02 H.J. Lu <hjl@gnu.org>
...
* ld-srec/sr3.cc (__dso_handle): Added for gcc 3.1 with
-fuse-cxa-atexit.
(__cxa_atexit): Likewise.
2002-06-03 04:56:52 +00:00
Richard Henderson
0085b5a8ab
* ld-bootstrap/bootstrap.exp: Test --relax.
2002-05-30 21:39:41 +00:00
Hans-Peter Nilsson
69de2f8959
* ld-cris/libdso-2.d: Tweak for combreloc now default on.
2002-05-28 01:44:46 +00:00
Richard Sandiford
3e3f011f93
* lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir.
...
(is_elf_format): New, extracted from...
* ld-scripts/weak.exp: ...here.
* ld-scripts/overlay-size.exp: New test.
* ld-scripts/overlay-size.[tsd],
* ld-scripts/overlay-size-map.d: New files for it.
2002-05-07 11:08:57 +00:00
Richard Sandiford
a155881bab
* ld-scripts/map-address.exp: Quote conditions.
2002-05-02 16:03:41 +00:00
Richard Sandiford
33a301baa7
* ld-scripts/map-address.exp: New test.
...
* ld-scripts/map-address.[td]: New files for it.
2002-04-30 09:23:14 +00:00
Richard Henderson
212a6b8ef7
* ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha.
...
* ld-shared/shared.exp: Likewise.
* ld-selective/selective.exp: Disable for alpha.
* ld-undefined/undefined.exp: Add alpha to dwarf2 xfails.
2002-04-19 19:28:09 +00:00
Hans-Peter Nilsson
32d279374d
* ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test.
2002-04-05 23:13:09 +00:00
Hans-Peter Nilsson
442e4424a0
* ld-cris/ldsym1.d: New test.
2002-03-19 23:49:51 +00:00
Hans-Peter Nilsson
f854883482
* ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols no
...
longer set to object.
* ld-mmix/undef-3.d, ld-mmix/start-1.d, ld-mmix/locto-1.d,
ld-mmix/loct-1.d, ld-mmix/locdo-1.d, ld-mmix/local7.d,
ld-mmix/local5.d, ld-mmix/local3.d, ld-mmix/local1.d,
ld-mmix/loc6.d, ld-mmix/loc4.d, ld-mmix/loc3.d, ld-mmix/loc2.d,
ld-mmix/loc1.d, ld-mmix/greg-7.d, ld-mmix/greg-6.d,
ld-mmix/greg-5.d, ld-mmix/greg-4.d, ld-mmix/greg-3.d,
ld-mmix/greg-2.d, ld-mmix/greg-19.d, ld-mmix/greg-1.d,
ld-mmix/bspec2.d, ld-mmix/bspec1.d, ld-mmix/bpo-9.d,
ld-mmix/bpo-6.d, ld-mmix/bpo-5.d, ld-mmix/bpo-4.d,
ld-mmix/bpo-3.d, ld-mmix/bpo-2.d, ld-mmix/bpo-19.d,
ld-mmix/bpo-18.d, ld-mmix/bpo-17.d, ld-mmix/bpo-16.d,
ld-mmix/bpo-14.d, ld-mmix/bpo-11.d, ld-mmix/bpo-10.d: Ditto.
2002-03-19 22:48:15 +00:00
Andreas Jaeger
91c903ab76
* ld-elfweak/strongdata.sym: Allow bss section for GCC 3.2 that
...
places zero initialized data in the bss.
* ld-elfweak/dsodata.dsym: Likewise.
2002-03-11 09:26:20 +00:00
Hans-Peter Nilsson
61c53cc298
* ld-cris/expdyn1.d: Tweak for change in elf.sc.
2002-03-07 14:03:05 +00:00
Hans-Peter Nilsson
acbd2de6c6
* ld-sh/ld-r-1.d: Adjust to changes in readelf output.
...
* ld-sh/shared-1.d, ld-sh/sh64/crangerel1.rd, ld-sh/crangerel2.rd,
ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Ditto.
2002-02-24 16:44:45 +00:00
Daniel Jacobowitz
4bcc9fa440
2002-02-18 Daniel Jacobowitz <drow@mvista.com>
...
* ld-elfvsb/sh1.c: Fix typo in last change.
2002-02-18 22:42:55 +00:00
Daniel Jacobowitz
aa3932f699
2002-02-17 Daniel Jacobowitz <drow@mvista.com>
...
* ld-elfvsb/sh1.c: Use #pragma weak.
2002-02-18 04:49:17 +00:00
Daniel Jacobowitz
3b0f0b37aa
2002-02-17 Daniel Jacobowitz <drow@mvista.com>
...
* vers.exp: Do not call diff -q.
2002-02-18 03:23:28 +00:00
Hans-Peter Nilsson
fe108482d4
* ld-mmix/b-nosym.d, ld-mmix/sec-6.d: Tweak for change in symbol
...
output.
* ld-mmix/sec-7m.d, ld-mmix/sec-7a.s, ld-mmix/sec-7b.s,
ld-mmix/sec-7c.s, ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: New test.
2002-02-17 21:22:24 +00:00
Hans-Peter Nilsson
acdd0e9a54
* ld-mmix/bpo-22.d: New test.
2002-02-17 20:13:05 +00:00
Hans-Peter Nilsson
dd51aa368d
* ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss,
...
and .bss.
2002-02-17 19:34:12 +00:00
Alan Modra
4f70f93f32
* ld-selective/selective.exp: Link against libgcc on
...
hppa*-*-linux* targets.
2002-02-12 11:10:11 +00:00
Alexandre Oliva
0f8b890409
* ld-sh/sh64/reldl64.rd: Add relocation symbol data in info field.
...
* ld-sh/sh64/crange-2i.s: Add align to match align in crange-2h.s.
* ld-sh/sh64/crange3-cmpct.rd: Adjust to reflect modifications
in section ordering.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/crange3.dd: Likewise.
2002-02-11 07:56:03 +00:00
Alexandre Oliva
fb6de7f3cc
* ld-sh/shared-1.d: Fix relocation addend.
2002-02-11 06:14:12 +00:00
Hans-Peter Nilsson
c99012716a
* ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New
...
tests.
2002-02-09 05:02:07 +00:00
Alexandre Oliva
1b19eb81ea
Contribute sh64-elf.
...
2002-02-02 Alexandre Oliva <aoliva@redhat.com>
* ld-sh/sh64/crange3-cmpct.rd: Adjust offsets.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/crangerel1.rd: Likewise.
* ld-sh/sh64/crangerel2.rd: Likewise.
* ld-sh/sh64/reldl32.rd: Likewise.
* ld-sh/sh64/reldl64.rd: Likewise.
2002-01-28 Alexandre Oliva <aoliva@redhat.com>
* ld-sh/sh64/abi32.xd: Formatting changes to match the current
output of objdump.
* ld-sh/sh64/cmpct1.xd: Likewise.
* ld-sh/sh64/crange1.rd: Likewise.
* ld-sh/sh64/crange2.rd: Likewise.
* ld-sh/sh64/crange3-cmpct.rd: Likewise.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/crangerel1.rd: Likewise.
* ld-sh/sh64/crangerel2.rd: Likewise.
* ld-sh/sh64/mix1.xd: Likewise.
* ld-sh/sh64/mix2.xd: Likewise.
* ld-sh/sh64/rel32.xd: Likewise.
* ld-sh/sh64/reldl32.rd: Likewise.
* ld-sh/sh64/reldl64.rd: Likewise.
* ld-sh/sh64/sh64.exp: Likewise. Reordered cranges and stack
sessions, to match changes in the linker script.
2001-06-14 Alexandre Oliva <aoliva@redhat.com>
* ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Adjust relocation
info to reflect renumbering of relocation types.
2001-03-14 DJ Delorie <dj@redhat.com>
* ld-sh/sh64/endian.dbd: New file, endian tests.
* ld-sh/sh64/endian.dld: Ditto.
* ld-sh/sh64/endian.ld: Ditto.
* ld-sh/sh64/endian.s: Ditto.
* ld-sh/sh64/endian.sbd: Ditto.
* ld-sh/sh64/endian.sld: Ditto.
* ld-sh/sh64/sh64.exp: Add above tests. Add -L option to ld.
2001-03-12 DJ Delorie <dj@redhat.com>
* ld-sh/sh64/relax.exp: New file, test disabling relaxing.
* ld-sh/sh64/relax1.s: Ditto.
* ld-sh/sh64/relax2.s: Ditto.
* ld-sh/sh64/relax3.s: Ditto.
* ld-sh/sh64/relax4.s: Ditto.
* ld-sh/sh64/relfail.exp: New file, test for bogus relocs.
* ld-sh/sh64/relfail.s: Ditto.
2001-03-12 DJ Delorie <dj@redhat.com>
* ld-sh/sh.exp: This test isn't appropriate for SH64 since it
uses SH32 assembler files.
2001-03-07 DJ Delorie <dj@redhat.com>
* ld-selective/selective.exp: Pass "-e _start" for sh64 to
accomodate expected start symbol in test.
2001-03-06 DJ Delorie <dj@redhat.com>
* ld-scripts/crossref.exp: Pass -mshelf32 to the linker for sh64,
to match what gcc passes to the linker by default.
* ld-selective/selective.exp: Ditto.
* ld-srec/srec.exp: Ditto, plus XFAIL for sh64.
* ld-undefined/undefined.exp: Add XFAIL for sh64 (it's dwarf2).
2001-03-06 DJ Delorie <dj@redhat.com>
* ld-sh/sh64/abi32.xd (stack): Adjust for new default stack layout.
* ld-sh/sh64/abi64.xd (stack): Ditto.
* ld-sh/sh64/cmpct1.xd (stack): Ditto.
* ld-sh/sh64/crange1.rd (stack): Ditto.
* ld-sh/sh64/crange2.rd (stack): Ditto.
* ld-sh/sh64/crange3-cmpct.rd (stack): Ditto.
* ld-sh/sh64/crange3-media.rd (stack): Ditto.
* ld-sh/sh64/crange3.rd (stack): Ditto.
* ld-sh/sh64/mix1.xd (stack): Ditto.
* ld-sh/sh64/mix2.xd (stack): Ditto.
* ld-sh/sh64/shdl32.xd (stack): Ditto.
* ld-sh/sh64/shdl64.xd (stack): Ditto.
2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/mix1.xd: Add SORT_ENTRIES for .cranges section.
* ld-sh/sh64/mix2.xd: Ditto.
2001-01-08 Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/abi32.xd: Adjust for bit 0 set on an entry address
being SHmedia.
* ld-sh/sh64/shdl64.xd: Ditto.
* ld-sh/sh64/shdl32.xd: Ditto.
* ld-sh/sh64/mix2.xd: Ditto.
* ld-sh/sh64/crange3-media.rd: Ditto.
* ld-sh/sh64/abi64.xd: Ditto.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/crange-2a.s (diversion2): New global symbol.
* ld-sh/sh64/crange1.rd: Adjust to presence of new symbol.
Adjust section type for .cranges; expect sorted contents.
* ld-sh/sh64/crange2.rd: Ditto.
* ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: Ditto.
* ld-sh/sh64/crangerel1.rd: Adjust to presence of new symbol.
* ld-sh/sh64/crangerel2.rd: Ditto.
* ld-sh/sh64/mix1.xd: Adjust to DEBUGGING being set for .cranges.
* ld-sh/sh64/mix2.xd: Ditto.
* ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd: New
tests.
* ld-sh/sh64/sh64.exp: Tweak test message. Run new tests.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/shmix-1.s (start2): Add a NOP to provide a valid
target for (unexpanded) PTB. Add an .align 2 to SHmedia code to
keep properly aligned.
* ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd: Adjust accordingly.
* ld-sh/sh64/mix1-noexp.sd, ld-sh/sh64/mix2-noexp.sd,
ld-sh/sh64/abixx-noexp.sd: New tests for GAS -no-expand and
R_SH_PT_16 relocation.
* ld-sh/sh64/sh64.exp: Run new tests.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/crange-2f.s, ld-sh/sh64/crange-2g.s,
ld-sh/sh64/crange-2h.s, ld-sh/sh64/crange-2i.s,
ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: New tests.
* ld-sh/sh64/sh64.exp: Run new tests.
* ld-sh/sh64/crange1.rd: Correct section flags.
* ld-sh/sh64/crange2.rd: Ditto.
* ld-sh/sh64/crangerel1.rd: Ditto.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/crange-1.s, ld-sh/sh64/crange-2a.s,
ld-sh/sh64/crange-2b.s, ld-sh/sh64/crange-2c.s,
ld-sh/sh64/crange-2d.s, ld-sh/sh64/crange-2e.s,
ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd,
ld-sh/sh64/crangerel1.rd, ld-sh/sh64/crangerel2.rd: New tests for
handling .cranges section.
* ld-sh/sh64/sh64.exp: Run new tests.
* ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd,
ld-sh/sh64/mix2.xd: Adjust for .cranges section.
2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/abi32.sd, ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.sd,
ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.sd,
ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd,
ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Adjust to .bss and
.data individually 8-byte aligned.
2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/rel-1.s, ld-sh/sh64/rel-2.s, ld-sh/sh64/rel32.xd,
ld-sh/sh64/rel64.xd, ld-sh/sh64/reldl-1.s, ld-sh/sh64/reldl-2.s,
ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: New tests.
* ld-sh/sh64/sh64.exp: Make it possible to use readelf as
inspection tool. Run new tests.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/abi64.sd, ld-sh/sh64/abi32.sd, ld-sh/sh64/mix1.sd,
ld-sh/sh64/mix2.sd: Correct offsets in PT/PTA/PTB expansions.
* ld-sh/sh64/shdl-1.s, ld-sh/sh64/shdl-2.s, ld-sh/sh64/shdl64.sd,
ld-sh/sh64/shdl64.xd, ld-sh/sh64/shdl32.xd: New tests.
* ld-sh/sh64/sh64.exp: Run new tests.
2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/cmpct1.sd, ld-sh/sh64/cmpct1.xd,
ld-sh/sh64/shcmp-1.s: New test.
* ld-sh/sh64/sh64.exp: Add new test to sh64tests. Reformat.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/sh64.exp: Use linker option -mshelf64 for 64-bit ABI
test.
* ld-sh/sh64/abi64.xd: Tweak for 64-bit ELF.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/sh64.exp (sh64tests): Use linker option -mshelf32 for
tests.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64/abi32.sd, ld-sh/sh64/abi64.sd: Correct MOVI
registers.
* ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/shmix-1.s:
New test.
* ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shmix-2.s,
ld-sh/sh64/shmix-3.s: New test.
* ld-sh/sh64/sh64.exp: Add new tests to sh64tests.
2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com>
* ld-sh/sh64: New testsuite.
2002-02-08 06:50:02 +00:00
Hans-Peter Nilsson
9636f65c5e
* ld-selective/keepdot.s: Remove section specifier.
2002-02-07 02:48:40 +00:00
Hans-Peter Nilsson
b611beb043
* ld-selective/keepdot.d, ld-selective/keepdot.ld,
...
ld-selective/keepdot.s, ld-selective/keepdot0.d: New tests.
* ld-selective/sel-dump.exp: New, driver for run_dump_test:s.
2002-02-05 06:45:16 +00:00
Hans-Peter Nilsson
a27be4d5bf
* ld-mmix/bpo-18.d, ld-mmix/bpo64addr.ld, ld-mmix/bpo-18m.d,
...
ld-mmix/bpo-9.s, ld-mmix/bpo-19.d, ld-mmix/bpo-19m.d,
ld-mmix/bpo-10.s, ld-mmix/bpo-20.d, ld-mmix/bpo-20m.d: New tests
for on-demand global register allocation.
2002-02-04 04:38:53 +00:00
Alexandre Oliva
60e955f1b0
* ld-sh/shared-1.d: Fix incorrect offsets.
2002-02-02 02:21:33 +00:00
Hans-Peter Nilsson
fb17c22277
* ld-mmix/bpo-1.d, ld-mmix/bpo-1.s, ld-mmix/bpo-1m.d,
...
ld-mmix/bpo-15.d, ld-mmix/bpo-4.s, ld-mmix/bpo-6.d,
ld-mmix/bpo-6.s, ld-mmix/bpo-2.d, ld-mmix/bpo-6m.d,
ld-mmix/bpo-12m.d, ld-mmix/bpo-2m.d, ld-mmix/bpo-2.s,
ld-mmix/bpo-5.s, ld-mmix/bpo-3.d, ld-mmix/start3.s,
ld-mmix/bpo-3m.d, ld-mmix/bpo-9m.d, ld-mmix/bpo-4.d,
ld-mmix/bpo-3.s, ld-mmix/bpo-4m.d, ld-mmix/bpo-7.d,
ld-mmix/bpo-5.d, ld-mmix/bpo-16.d, ld-mmix/bpo-5m.d,
ld-mmix/bpo-7m.d, ld-mmix/bpo-9.d, ld-mmix/bpo-8.d,
ld-mmix/start4.s, ld-mmix/bpo-8m.d, ld-mmix/bpo-13m.d,
ld-mmix/bpo-15m.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d,
ld-mmix/bpo-14m.d, ld-mmix/bpo-13.d, ld-mmix/bpo-7.s,
ld-mmix/bpo-12.d, ld-mmix/bpo-16m.d, ld-mmix/bpo-14.d,
ld-mmix/bpo-8.s, ld-mmix/bpo-17.d, ld-mmix/bpo-17m.d: New tests.
2002-02-01 08:30:12 +00:00
Hans-Peter Nilsson
f7a2c2f698
* ld-cris/weakref1.d, ld-cris/libdso-1.d, ld-cris/gotrel2.s,
...
ld-cris/expdyn1.d, ld-cris/expdyn1.s, ld-cris/dso-1.s: New tests.
* ld-cris/cris.exp: Split run_dump_tests in two parts, executing
tests named *dso-*.d first and copying their tmpdir/dump to files
named as the .d-file.
2002-01-31 10:42:18 +00:00
Alan Modra
dbc37f892b
* ld-scripts/crossref.exp: Allow foo to have a leading dot.
...
* ld-scripts/cross1.t: Add .opd.
* ld-undefined/undefined.exp: Allow leading dot on sym names.
* lib/ld-lib.exp (default_ld_nm): Strip leading dots from syms.
2002-01-31 03:57:52 +00:00
Chris Demetriou
38b566ae19
2002-01-29 Chris Demetriou <cgd@broadcom.com>
...
* ld-mips-elf/emrelocs-eb.d: New file to test --embedded-relocs.
* ld-mips-elf/emrelocs-el.d: Likewise.
* ld-mips-elf/emrelocs1.s: Likewise.
* ld-mips-elf/emrelocs2.s: Likewise.
* ld-mips-elf/emrelocs.ld: Likewise.
* ld-mips-elf/mips-elf.exp: Add the above to the list of tests.
2002-01-30 02:20:13 +00:00
Hans-Peter Nilsson
54893deb51
* ld-cris: New testsuite directory.
2002-01-21 22:04:02 +00:00
Nick Clifton
8b8c5dbda5
Add missing 'cp' command
2002-01-15 12:41:00 +00:00
Nick Clifton
8f2a69559a
For ARM targets, link with libgcc.a.
2002-01-14 15:46:50 +00:00
Chris Demetriou
a657e7c198
2002-01-02 Chris Demetriou <cgd@broadcom.com>
...
* ld-mips-elf/empic1-ln.d: New file to test basic linking of
R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations.
* ld-mips-elf/empic1-lp.d: Likewise.
* ld-mips-elf/empic1-mn.d: Likewise.
* ld-mips-elf/empic1-mp.d: Likewise.
* ld-mips-elf/empic1-sn.d: Likewise.
* ld-mips-elf/empic1-sp.d: Likewise.
* ld-mips-elf/empic1-ref.s: Likewise.
* ld-mips-elf/empic1-space.s: Likewise.
* ld-mips-elf/empic1-tgt.s: Likewise.
* ld-mips-elf/empic2-fwd-0.d: New file to test
R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocation edge
cases.
* ld-mips-elf/empic2-fwd-1.d: Likewise.
* ld-mips-elf/empic2-rev-0.d: Likewise.
* ld-mips-elf/empic2-rev-1.d: Likewise.
* ld-mips-elf/empic2-ref.s: Likewise.
* ld-mips-elf/empic2-space.s: Likewise.
* ld-mips-elf/empic2-fwd-tgt.s: Likewise.
* ld-mips-elf/empic2-rev-tgt.s: Likewise.
* ld-mips-elf/mips-elf.exp: New file to run MIPS 32-bit ELF
tests (including those above).
2002-01-02 18:59:32 +00:00
H.J. Lu
82e03011ac
2001-11-30 H.J. Lu <hjl@gnu.org>
...
* ld-elfvers/vers.exp (build_vers_lib): Preserve the library
order.
2001-11-30 15:41:17 +00:00
H.J. Lu
679547726a
2001-11-29 H.J. Lu <hjl@gnu.org>
...
* ld-elfvers/vers.exp (build_vers_lib): Support linking against
more than one libraries.
Add "vers20a" and "vers20" tests for common symbols.
* ld-elfvers/vers20.c: New.
* ld-elfvers/vers20.dsym: New.
* ld-elfvers/vers20.map: New.
* ld-elfvers/vers20.ver: New.
* ld-elfvers/vers20a.ver: New.
2001-11-30 08:07:34 +00:00
H.J. Lu
f5e0494514
2001-11-19 H.J. Lu <hjl@gnu.org>
...
* ld-elfvsb/define.s: Mark all global lables as object.
* ld-elfvsb/hidden0.d: Match large section number.
* ld-elfvsb/hidden1.d: Likewise.
* ld-elfvsb/internal0.d: Likewise.
* ld-elfvsb/internal1.d: Likewise.
* ld-elfvsb/protected0.d: Likewise.
* ld-elfvsb/protected1.d: Likewise.
* ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT.
* ld-elfvsb/internal0.d: Likewise.
* ld-elfvsb/protected0.d: Likewise.
2001-11-19 20:32:02 +00:00
H.J. Lu
c3b1835c01
2001-11-15 H.J. Lu <hjl@gnu.org>
...
* ld-sh/ld-r-1.d: Updated.
2001-11-15 19:10:05 +00:00
Nick Clifton
86017ce918
Only scan tail of executable for PE targets.
2001-11-14 11:18:42 +00:00
Nick Clifton
d7b784871a
Only compare the tail end of the two binary files produced in order to avoid
...
date stamp present in PE binaries.
2001-11-12 16:26:17 +00:00
Hans-Peter Nilsson
fec91dc5a6
* ld-mmix/sec-5.d (Sections): Add whitespace missing in commit.
2001-11-11 11:47:37 +00:00
H.J. Lu
3a921b779a
2001-11-09 H.J. Lu <hjl@gnu.org>
...
* ld-discard/discard.exp: New. Test ld discard.
* ld-discard/discard.ld: Likewise.
* ld-discard/exit.s: Likewise.
* ld-discard/extern.d: Likewise.
* ld-discard/extern.s: Likewise.
* ld-discard/start.d: Likewise.
* ld-discard/start.s: Likewise.
* ld-discard/static.d: Likewise.
* ld-discard/static.s: Likewise.
2001-11-10 01:17:58 +00:00
H.J. Lu
04827a14fb
2001-11-02 H.J. Lu <hjl@gnu.org>
...
* ld-elfvsb/elfvsb.exp: Add the "ld -r" test.
* ld-elfvsb/hidden0.d: New.
* ld-elfvsb/hidden1.d: New.
* ld-elfvsb/internal0.d: New.
* ld-elfvsb/internal1.d: New.
* ld-elfvsb/protected0.d: New.
* ld-elfvsb/protected1.d: New.
* ld-elfvsb/undef.s: New.
* ld-elfvsb/undef.s: New.
2001-11-02 17:24:54 +00:00
Nick Clifton
dc5e727b86
Fix testsuites for bigendian sh-linux
2001-11-02 17:07:52 +00:00
Hans-Peter Nilsson
457345460c
* ld-mmix/locdo-1.d: Prune character dump part.
2001-10-31 05:52:41 +00:00
Hans-Peter Nilsson
6ef81afda6
* ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d,
...
ld-mmix/loc1.d, ld-mmix/bspec1m.d, ld-mmix/bspec2m.d,
ld-mmix/b-nosym.d, ld-mmix/b-fixo2.d, ld-mmix/b-loc64k.d,
ld-mmix/undef-3m.d, ld-mmix/locto.s, ld-mmix/loct.s,
ld-mmix/local3m.d, ld-mmix/local1m.d, ld-mmix/loc6m.d,
ld-mmix/loc2.s, ld-mmix/loc1.s, ld-mmix/gregldo1.s,
ld-mmix/dloc1.s, ld-mmix/b-widec3.s, ld-mmix/b-nosym.s: Remove
unnecessary empty lines.
2001-10-31 05:42:51 +00:00
Nick Clifton
3c3bdf30e4
Add MMIX support
2001-10-30 15:20:14 +00:00
Hans-Peter Nilsson
d45d3ffb18
* ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run on
...
sh*-*-elf.
2001-10-15 00:14:37 +00:00
Hans-Peter Nilsson
b2da51b6a4
* lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}.
2001-10-14 16:03:53 +00:00
Hans-Peter Nilsson
7739e068a7
* ld-sh/rd-sh.exp: New framework file.
...
* ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d,
ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New
test files.
2001-10-14 15:18:11 +00:00
Hans-Peter Nilsson
8e13f7b1f9
* ld-linkonce/linkonce.exp: New file.
...
* ld-linkonce/x.s, ld-linkonce/y.s, ld-linkonce/zeroeh.ld,
ld-linkonce/zeroehl32.d: New test.
2001-09-29 13:01:17 +00:00
H.J. Lu
5d5849d7b5
2001-09-25 H.J. Lu <hjl@gnu.org>
...
* ld-elfweak/dso.dsym: Updated for alpha.
* ld-elfweak/dsodata.dsym: Likewise.
* ld-elfweak/strong.sym: Likewise.
* ld-elfweak/strongcomm.sym: Likewise.
* ld-elfweak/strongdata.sym: Likewise.
2001-09-25 20:24:00 +00:00
Hans-Peter Nilsson
cfe5266f79
* lib/ld-lib.exp (run_dump_test): Handle new option
...
"objcopy_linked_file". Return after failing, if errors were
expected but none were found.
(slurp_options): Support underscores in option names.
2001-09-15 00:56:42 +00:00
H.J. Lu
0c52a746f7
2001-09-14 H.J. Lu <hjl@gnu.org>
...
* ld-elfweak/bar.c: Updated.
* ld-elfweak/bar1a.c: Likewise.
* ld-elfweak/main.c: Likewise.
* ld-elfweak/main1.c: Likewise.
* ld-elfweak/elfweak.exp: Likewise.
* ld-elfweak/weakdata.dsym: Updated.
2001-09-14 23:43:17 +00:00
H.J. Lu
bd7c9df68b
2001-09-11 H.J. Lu <hjl@gnu.org>
...
* ld-elfweak/elfweak.exp (build_lib): Take a list of object
files.
(build_exec): Likewise.
Add more tests and make some xfail.
* ld-elfweak/dso.dsym: Support symbol versioning.
* ld-elfweak/dsow.dsym: Likewise.
* ld-elfweak/main1.c: New.
* ld-elfweak/bar1a.c: Likewise.
* ld-elfweak/bar1b.c: Likewise.
* ld-elfweak/bar1c.c: Likewise.
* ld-elfweak/foo1a.c: Likewise.
* ld-elfweak/foo1b.c: Likewise.
* ld-elfweak/dsodata.dsym: Likewise.
* ld-elfweak/dsowdata.dsym: Likewise.
* ld-elfweak/weakdata.dsym: Likewise.
* ld-elfweak/strongcomm.sym: Likewise.
* ld-elfweak/strongdata.sym: Likewise.
* ld-elfweak/weakdata.dat: Likewise.
* ld-elfweak/strongdata.dat: Likewise.
2001-09-11 14:25:16 +00:00
H.J. Lu
16a572840c
2001-09-10 H.J. Lu <hjl@gnu.org>
...
* ld-elfweak/elfweak.exp: New.
* ld-elfweak/bar.c: Likewise.
* ld-elfweak/foo.c: Likewise.
* ld-elfweak/main.c: Likewise.
* ld-elfweak/dso.dsym: Likewise.
* ld-elfweak/dsow.dsym: Likewise.
* ld-elfweak/strong.sym: Likewise.
* ld-elfweak/strong.dat: Likewise.
* ld-elfweak/weak.dat: Likewise.
2001-09-10 17:11:34 +00:00
Alan Modra
ad9f78d1a8
* ld-checks/checks.exp: .lcomm is incompatible with ppc coff.
...
* ld-scripts/cross1.t: Add .toc section.
* ld-scripts/cross2.t: Likewise.
* ld-scripts/phdrs.exp: powerpc64 is 64 bit.
* ld-srec/srec.exp: xfail powerpc64
2001-08-27 10:49:55 +00:00
Nick Clifton
453abe3171
Return if target is `vax-*-ultrix*'.
...
Continue with other tests when there is a compilation error.
2001-08-21 16:04:37 +00:00
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
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
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
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
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
Nick Clifton
1e329ce6ac
For sh-*-linux-gnu target add a start address for the text section.
2001-05-28 10:55:23 +00:00
Alan Modra
c709b09623
s/linuxaout/linux*aout/, s/linuxoldld/linux*oldld/
2001-05-25 07:21:01 +00:00
H.J. Lu
936f9717c0
2001-05-24 H.J. Lu <hjl@gnu.org>
...
* ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform.
2001-05-25 04:31:55 +00:00
H.J. Lu
9d8b3bf43c
2001-05-18 H.J. Lu <hjl@gnu.org>
...
* ld-elfvers/vers.exp: Revert the last change.
* ld-elfvers/vers2.ver: Put back "tmpdir/" the version
references.
* ld-elfvers/vers3.ver: Likewise.
* ld-elfvers/vers6.ver: Likewise.
* ld-elfvers/vers18.ver: Likewise.
2001-05-18 16:15:42 +00:00
H.J. Lu
0f3f880889
2001-05-17 H.J. Lu <hjl@gnu.org>
...
* ld-elfvers/vers.exp: Pass "-rpath .:$tmpdir" to "vers19".
* ld-elfvers/vers1.ver: Remove "tmpdir/" from the version
definition.
* ld-elfvers/vers2.ver: Likewise.
* ld-elfvers/vers3.ver: Likewise.
* ld-elfvers/vers4a.ver: Likewise.
* ld-elfvers/vers6.ver: Likewise.
* ld-elfvers/vers7a.ver: Likewise.
* ld-elfvers/vers8.ver: Likewise.
* ld-elfvers/vers9.ver: Likewise.
* ld-elfvers/vers15.ver: Likewise.
* ld-elfvers/vers16a.ver: Likewise.
* ld-elfvers/vers17.ver: Likewise.
* ld-elfvers/vers18.ver: Likewise.
2001-05-18 01:25:34 +00:00
H.J. Lu
8b0fa28299
2001-05-03 H.J. Lu <hjl@gnu.org>
...
* ld-elfvers/vers19.ver: Expect vers17.so instead of
*tmpdir/vers17.so.
2001-05-03 06:25:58 +00:00
Andreas Jaeger
7f9adacd07
* ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform.
...
* ld-scripts/phdrs.t: Use startaddress that's greater than any
MAXPAGESIZE used.
2001-05-01 08:07:35 +00:00
H.J. Lu
f0f077e5e5
2001-04-29 H.J. Lu <hjl@gnu.org>
...
* ld-shared/symbolic.dat: New.
* ld-shared/shared.exp: Also check -Bsymbolic.
2001-04-29 19:10:21 +00:00
Andreas Jaeger
b3992bc715
* ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it
...
special.
2001-04-28 16:14:39 +00:00
David O'Brien
358a550280
2001-04-01 David O'Brien <obrien@FreeBSD.org>
...
* ld-undefined/undefined.exp: XFAIL on FreeBSD/i386 for the usual (even
though it doesn't use DWARF2 yet (but its output is identical).
Approved by: Alan Modra <alan@linuxcare.com.au>
<Pine.LNX.4.21.0104021511350.487-100000@front.linuxcare.com.au>
2001-04-02 23:44:03 +00:00
David O'Brien
44df2f94b9
001-04-01 David O'Brien <obrien@FreeBSD.org>
...
* ld-selective/selective.exp: Use -O with gcc rather than -O2.
This optimization level is buggy on some platforms, and this test
is not intended to test compiler optimizations.
Approved by: Alan Modra <alan@linuxcare.com.au>
<Pine.LNX.4.21.0104021510450.487-100000@front.linuxcare.com.au>
2001-04-02 23:33:20 +00:00
Nick Clifton
a2b64bede3
Fixtypos in ChangeLogs, fix copyright dates in files
2001-03-13 06:14:29 +00:00