diff options
author | Alan Modra <amodra@gmail.com> | 2020-08-25 01:59:55 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-08-25 19:31:57 +0930 |
commit | 8d3035466746825cd5909cf045cf841222989ec6 (patch) | |
tree | 2125eddba16ac6c32ad2171fcf5271b58f678305 /ld | |
parent | 3945d2d77e373c828ebbbb05b3ba06adf39019ab (diff) | |
download | gdb-8d3035466746825cd5909cf045cf841222989ec6.zip gdb-8d3035466746825cd5909cf045cf841222989ec6.tar.gz gdb-8d3035466746825cd5909cf045cf841222989ec6.tar.bz2 |
tic54x ld testsuite
* testsuite/ld-libs/libs.exp: Don't run on sh-pe, tic30 or tic54x.
* testsuite/ld-scripts/data.d: xfail tic4x and tic54x.
* testsuite/ld-scripts/empty-address-2a.d: xfail tic54x.
* testsuite/ld-scripts/empty-address-2b.d: Likewise.
* testsuite/ld-scripts/include-1.d: xfail tic4x and tic54x.
* testsuite/ld-scripts/provide-1.d: xfail tic54x.
* testsuite/ld-scripts/provide-2.d: Likewise.
* testsuite/ld-scripts/provide-4.d: Likewise.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 11 | ||||
-rw-r--r-- | ld/testsuite/ld-libs/libs.exp | 7 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/data.d | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/empty-address-2a.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/empty-address-2b.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/include-1.d | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/provide-1.d | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/provide-2.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/provide-4.d | 2 |
9 files changed, 27 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 2cb00a3..a12f913 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,14 @@ +2020-08-25 Alan Modra <amodra@gmail.com> + + * testsuite/ld-libs/libs.exp: Don't run on sh-pe, tic30 or tic54x. + * testsuite/ld-scripts/data.d: xfail tic4x and tic54x. + * testsuite/ld-scripts/empty-address-2a.d: xfail tic54x. + * testsuite/ld-scripts/empty-address-2b.d: Likewise. + * testsuite/ld-scripts/include-1.d: xfail tic4x and tic54x. + * testsuite/ld-scripts/provide-1.d: xfail tic54x. + * testsuite/ld-scripts/provide-2.d: Likewise. + * testsuite/ld-scripts/provide-4.d: Likewise. + 2020-08-24 Alan Modra <amodra@gmail.com> * testsuite/ld-sparc/tlssunbin32.rd: Update for new readelf output. diff --git a/ld/testsuite/ld-libs/libs.exp b/ld/testsuite/ld-libs/libs.exp index 42cab4b..2cb9bcb 100644 --- a/ld/testsuite/ld-libs/libs.exp +++ b/ld/testsuite/ld-libs/libs.exp @@ -19,6 +19,13 @@ # MA 02110-1301, USA. # +if { [istarget sh*-*-pe] + || [istarget tic30-*-*] + || [istarget tic54x-*-*] } { + # These all complain about a zero vma .text and other sections + return +} + file mkdir tmpdir/libtmp # Check that -l: works. The first "test" just creates an object file diff --git a/ld/testsuite/ld-scripts/data.d b/ld/testsuite/ld-scripts/data.d index 10b3d08..b7ca0a7 100644 --- a/ld/testsuite/ld-scripts/data.d +++ b/ld/testsuite/ld-scripts/data.d @@ -1,6 +1,7 @@ #source: data.s #ld: -T data.t #objdump: -s -j .text +#xfail: tic4x-*-* tic54x-*-* .*: file format .* diff --git a/ld/testsuite/ld-scripts/empty-address-2a.d b/ld/testsuite/ld-scripts/empty-address-2a.d index 85aa648..3b5a2d6 100644 --- a/ld/testsuite/ld-scripts/empty-address-2a.d +++ b/ld/testsuite/ld-scripts/empty-address-2a.d @@ -1,7 +1,7 @@ #source: empty-address-2.s #ld: -Ttext 0x0000000 -Tdata 0x200 -T empty-address-2a.t #nm: -n -#xfail: frv-*-*linux* riscv64-*-* +#xfail: frv-*-*linux* riscv64-*-* tic54x-*-* #... 0+0 T _start #... diff --git a/ld/testsuite/ld-scripts/empty-address-2b.d b/ld/testsuite/ld-scripts/empty-address-2b.d index 9e6bc3d..3b530c9 100644 --- a/ld/testsuite/ld-scripts/empty-address-2b.d +++ b/ld/testsuite/ld-scripts/empty-address-2b.d @@ -1,7 +1,7 @@ #source: empty-address-2.s #ld: -Ttext 0x0000000 -Tdata 0x200 -T empty-address-2b.t #nm: -n -#xfail: frv-*-*linux* riscv64-*-* +#xfail: frv-*-*linux* riscv64-*-* tic54x-*-* #... 0+0 T _start #... diff --git a/ld/testsuite/ld-scripts/include-1.d b/ld/testsuite/ld-scripts/include-1.d index 117d331..1482dd4 100644 --- a/ld/testsuite/ld-scripts/include-1.d +++ b/ld/testsuite/ld-scripts/include-1.d @@ -2,6 +2,7 @@ #source: include.s #ld: -T include-1.t #objdump: -w -h +#xfail: tic4x-*-* tic54x-*-* .*: file format .* diff --git a/ld/testsuite/ld-scripts/provide-1.d b/ld/testsuite/ld-scripts/provide-1.d index ac8719a..1bc3c1e 100644 --- a/ld/testsuite/ld-scripts/provide-1.d +++ b/ld/testsuite/ld-scripts/provide-1.d @@ -1,6 +1,7 @@ #source: provide-1.s #ld: -T provide-1.t #objdump: -s -j .data +#xfail: tic54x-*-* .*: file format .* diff --git a/ld/testsuite/ld-scripts/provide-2.d b/ld/testsuite/ld-scripts/provide-2.d index 88513e8..0b94e29 100644 --- a/ld/testsuite/ld-scripts/provide-2.d +++ b/ld/testsuite/ld-scripts/provide-2.d @@ -1,6 +1,8 @@ #source: provide-2.s #ld: -T provide-2.t #nm: -B +#xfail: tic54x-*-* + #... 0+3 A baz #... diff --git a/ld/testsuite/ld-scripts/provide-4.d b/ld/testsuite/ld-scripts/provide-4.d index dab2584..8efc8a6 100644 --- a/ld/testsuite/ld-scripts/provide-4.d +++ b/ld/testsuite/ld-scripts/provide-4.d @@ -2,6 +2,8 @@ #ld: -T provide-4.t #nm: -B #map: provide-4.map +#xfail: tic54x-*-* + #... 0+3 A baz #... |