tic54x ld testsuite
Alan Modra
amodra@gmail.com
Tue Aug 25 13:23:36 GMT 2020
* 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.
diff --git a/ld/testsuite/ld-libs/libs.exp b/ld/testsuite/ld-libs/libs.exp
index 42cab4ba40..2cb9bcb813 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 10b3d085f6..b7ca0a741c 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 85aa648531..3b5a2d68f7 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 9e6bc3d1de..3b530c94d8 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 117d331419..1482dd46a1 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 ac8719a677..1bc3c1e49d 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 88513e8cbd..0b94e29f93 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 dab25847fb..8efc8a65f8 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
#...
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list