tic54x ld testsuite
authorAlan Modra <amodra@gmail.com>
Mon, 24 Aug 2020 16:29:55 +0000 (01:59 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 25 Aug 2020 10:01:57 +0000 (19:31 +0930)
* 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.

ld/ChangeLog
ld/testsuite/ld-libs/libs.exp
ld/testsuite/ld-scripts/data.d
ld/testsuite/ld-scripts/empty-address-2a.d
ld/testsuite/ld-scripts/empty-address-2b.d
ld/testsuite/ld-scripts/include-1.d
ld/testsuite/ld-scripts/provide-1.d
ld/testsuite/ld-scripts/provide-2.d
ld/testsuite/ld-scripts/provide-4.d

index 2cb00a3a6b310869adc5645cba2532d76863d19f..a12f91302b72f988c2293d2a4312a930c64022e1 100644 (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.
index 42cab4ba40277e79bd1e1d939b0f2a74876b26b0..2cb9bcb8134849c68d9f2dc5ed20cf5b2f6b2981 100644 (file)
 # 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
index 10b3d085f6e5cd7e31a97a093407f09143f7fa65..b7ca0a741ce5cce91b503b1cdf2e98baefc31646 100644 (file)
@@ -1,6 +1,7 @@
 #source: data.s
 #ld: -T data.t
 #objdump: -s -j .text
+#xfail: tic4x-*-* tic54x-*-*
 
 .*:     file format .*
 
index 85aa648531d8228479a78ecf8394ac8f9eb9e9b4..3b5a2d68f72aadbe190c8d44dea16f5f08002341 100644 (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
 #...
index 9e6bc3d1de01cec2dfc4146fa9693cfeceacaf32..3b530c94d8626bac7cd077b466d1819c34afcd9a 100644 (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
 #...
index 117d331419833b23225cbfec306248c88c25d34a..1482dd46a137b4af9297c9ecf72b683b941ec33a 100644 (file)
@@ -2,6 +2,7 @@
 #source: include.s
 #ld: -T include-1.t
 #objdump: -w -h
+#xfail: tic4x-*-* tic54x-*-*
 
 .*:     file format .*
 
index ac8719a67714f8bfdff6ad29ba4db881b2e84897..1bc3c1e49da6418722c7cc38d11b6aab2683a584 100644 (file)
@@ -1,6 +1,7 @@
 #source: provide-1.s
 #ld: -T provide-1.t
 #objdump: -s -j .data
+#xfail: tic54x-*-*
 
 .*:     file format .*
 
index 88513e8cbde4c329aecd991c77decf7fca6743c5..0b94e29f938a12b4acc350f975c4bef407e955d7 100644 (file)
@@ -1,6 +1,8 @@
 #source: provide-2.s
 #ld: -T provide-2.t
 #nm: -B
+#xfail: tic54x-*-*
+
 #...
 0+3 A baz
 #...
index dab25847fbed67ed34d5f2549e96115ca4378582..8efc8a65f82c79095c809f025f09ea8a902c131b 100644 (file)
@@ -2,6 +2,8 @@
 #ld: -T provide-4.t
 #nm: -B
 #map: provide-4.map
+#xfail: tic54x-*-*
+
 #...
 0+3 A baz
 #...