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.
/* { dg-do compile } */
/* { dg-options "-O2" }
/* { dg-add-options tls } */
+/* { dg-skip-if "native tls expected" { tls_emulated } } */
#include <stdint.h>
/* { dg-do compile } */
/* { dg-options "-O2" }
/* { dg-add-options tls } */
+/* { dg-skip-if "native tls expected" { tls_emulated } } */
#include <stdint.h>
/* { dg-do compile } */
/* { dg-options "-O2" }
/* { dg-add-options tls } */
+/* { dg-skip-if "native tls expected" { tls_emulated } } */
#include <stdint.h>
/* { dg-do compile } */
/* { dg-options "-O2" }
/* { dg-add-options tls } */
+/* { dg-skip-if "native tls expected" { tls_emulated } } */
#include <stdint.h>
/* { dg-do compile } */
/* { dg-options "-O2" }
/* { dg-add-options tls } */
+/* { dg-skip-if "native tls expected" { tls_emulated } } */
#include <stdint.h>
/* { dg-do compile } */
/* { dg-options "-O2" }
/* { dg-add-options tls } */
+/* { dg-skip-if "native tls expected" { tls_emulated } } */
#include <stdint.h>