diff options
author | Alexandre Oliva <oliva@adacore.com> | 2025-02-07 04:14:39 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2025-02-07 04:14:39 -0300 |
commit | d1061212e4a57bd68dcfdf711e509f71c9bbbce3 (patch) | |
tree | d800eb3c36fd9de8b3bdcaac84e9d3a3195e9b35 /gcc | |
parent | 9a551d634fdfe8ad432a9a8a2d4621997137a231 (diff) | |
download | gcc-d1061212e4a57bd68dcfdf711e509f71c9bbbce3.zip gcc-d1061212e4a57bd68dcfdf711e509f71c9bbbce3.tar.gz gcc-d1061212e4a57bd68dcfdf711e509f71c9bbbce3.tar.bz2 |
[testsuite] [sparc] skip tls tests if emulated
A number of tls tests expect TLS-specific relocations, that are not
present when tls is emulated, as on e.g. leon3-elf. Skip the tests
when tls is emulated.
for gcc/testsuite/ChangeLog
* gcc.target/sparc/tls-ld-int16.c: Skip when tls is emulated.
* gcc.target/sparc/tls-ld-int32.c: Likewise.
* gcc.target/sparc/tls-ld-int8.c: Likewise.
* gcc.target/sparc/tls-ld-uint16.c: Likewise.
* gcc.target/sparc/tls-ld-uint32.c: Likewise.
* gcc.target/sparc/tls-ld-uint8.c: Likewise.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/sparc/tls-ld-int16.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/sparc/tls-ld-int32.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/sparc/tls-ld-int8.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/sparc/tls-ld-uint16.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/sparc/tls-ld-uint32.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/sparc/tls-ld-uint8.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/sparc/tls-ld-int16.c b/gcc/testsuite/gcc.target/sparc/tls-ld-int16.c index d3d2808..de4ce40 100644 --- a/gcc/testsuite/gcc.target/sparc/tls-ld-int16.c +++ b/gcc/testsuite/gcc.target/sparc/tls-ld-int16.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O2" } /* { dg-add-options tls } */ +/* { dg-skip-if "native tls expected" { tls_emulated } } */ #include <stdint.h> diff --git a/gcc/testsuite/gcc.target/sparc/tls-ld-int32.c b/gcc/testsuite/gcc.target/sparc/tls-ld-int32.c index cf18147..5604c24 100644 --- a/gcc/testsuite/gcc.target/sparc/tls-ld-int32.c +++ b/gcc/testsuite/gcc.target/sparc/tls-ld-int32.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O2" } /* { dg-add-options tls } */ +/* { dg-skip-if "native tls expected" { tls_emulated } } */ #include <stdint.h> diff --git a/gcc/testsuite/gcc.target/sparc/tls-ld-int8.c b/gcc/testsuite/gcc.target/sparc/tls-ld-int8.c index a07cffc..17eb32e 100644 --- a/gcc/testsuite/gcc.target/sparc/tls-ld-int8.c +++ b/gcc/testsuite/gcc.target/sparc/tls-ld-int8.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O2" } /* { dg-add-options tls } */ +/* { dg-skip-if "native tls expected" { tls_emulated } } */ #include <stdint.h> diff --git a/gcc/testsuite/gcc.target/sparc/tls-ld-uint16.c b/gcc/testsuite/gcc.target/sparc/tls-ld-uint16.c index 41ee687..81990a7 100644 --- a/gcc/testsuite/gcc.target/sparc/tls-ld-uint16.c +++ b/gcc/testsuite/gcc.target/sparc/tls-ld-uint16.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O2" } /* { dg-add-options tls } */ +/* { dg-skip-if "native tls expected" { tls_emulated } } */ #include <stdint.h> diff --git a/gcc/testsuite/gcc.target/sparc/tls-ld-uint32.c b/gcc/testsuite/gcc.target/sparc/tls-ld-uint32.c index 9c79153..60524ba 100644 --- a/gcc/testsuite/gcc.target/sparc/tls-ld-uint32.c +++ b/gcc/testsuite/gcc.target/sparc/tls-ld-uint32.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O2" } /* { dg-add-options tls } */ +/* { dg-skip-if "native tls expected" { tls_emulated } } */ #include <stdint.h> diff --git a/gcc/testsuite/gcc.target/sparc/tls-ld-uint8.c b/gcc/testsuite/gcc.target/sparc/tls-ld-uint8.c index 0dcff66..7a74921 100644 --- a/gcc/testsuite/gcc.target/sparc/tls-ld-uint8.c +++ b/gcc/testsuite/gcc.target/sparc/tls-ld-uint8.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O2" } /* { dg-add-options tls } */ +/* { dg-skip-if "native tls expected" { tls_emulated } } */ #include <stdint.h> |