[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.
This commit is contained in:
parent
9a551d634f
commit
d1061212e4
6 changed files with 6 additions and 0 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue