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.
This commit is contained in:
Alan Modra
2020-08-25 01:59:55 +09:30
parent 3945d2d77e
commit 8d30354667
9 changed files with 27 additions and 2 deletions

View File

@ -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.

View File

@ -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

View File

@ -1,6 +1,7 @@
#source: data.s
#ld: -T data.t
#objdump: -s -j .text
#xfail: tic4x-*-* tic54x-*-*
.*: file format .*

View File

@ -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
#...

View File

@ -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
#...

View File

@ -2,6 +2,7 @@
#source: include.s
#ld: -T include-1.t
#objdump: -w -h
#xfail: tic4x-*-* tic54x-*-*
.*: file format .*

View File

@ -1,6 +1,7 @@
#source: provide-1.s
#ld: -T provide-1.t
#objdump: -s -j .data
#xfail: tic54x-*-*
.*: file format .*

View File

@ -1,6 +1,8 @@
#source: provide-2.s
#ld: -T provide-2.t
#nm: -B
#xfail: tic54x-*-*
#...
0+3 A baz
#...

View File

@ -2,6 +2,8 @@
#ld: -T provide-4.t
#nm: -B
#map: provide-4.map
#xfail: tic54x-*-*
#...
0+3 A baz
#...