+2015-08-26 Jiong Wang <jiong.wang@arm.com>
+
+ * gcc.target/aarch64/tlsle_1.x: Rename to tls_1.x
+ * gcc.target/aarch64/aarch64/tlsle12_1.c: Update source file name.
+ * gcc.target/aarch64/aarch64/tlsle24_1.c: Likewise.
+ * gcc.target/aarch64/aarch64/tlsle32_1.c: Likewise.
+
2015-08-26 Jiong Wang <jiong.wang@arm.com>
* lib/target-supports.exp (check_effective_target_aarch64_tlsle32):
--- /dev/null
+void abort (void);
+
+__thread int t0 = 0x10;
+__thread int t1 = 0x10;
+
+int
+main (int argc, char **argv)
+{
+ if (t0 != t1)
+ abort ();
+
+ return 0;
+}
+
/* { dg-require-effective-target tls_native } */
/* { dg-options "-O2 -fpic -ftls-model=local-exec -mtls-size=12 --save-temps" } */
-#include "tlsle_1.x"
+#include "tls_1.x"
/* { dg-final { scan-assembler-times "#:tprel_lo12" 2 } } */
/* { dg-final { cleanup-saved-temps } } */
/* { dg-require-effective-target tls_native } */
/* { dg-options "-O2 -fpic -ftls-model=local-exec -mtls-size=24 --save-temps" } */
-#include "tlsle_1.x"
+#include "tls_1.x"
/* { dg-final { scan-assembler-times "#:tprel_lo12_nc" 2 } } */
/* { dg-final { scan-assembler-times "#:tprel_hi12" 2 } } */
/* { dg-require-effective-target aarch64_tlsle32 } */
/* { dg-options "-O2 -fpic -ftls-model=local-exec -mtls-size=32 --save-temps" } */
-#include "tlsle_1.x"
+#include "tls_1.x"
/* { dg-final { scan-assembler-times "#:tprel_g1" 2 } } */
/* { dg-final { scan-assembler-times "#:tprel_g0_nc" 2 } } */
+++ /dev/null
-void abort (void);
-
-__thread int t0 = 0x10;
-__thread int t1 = 0x10;
-
-int
-main (int argc, char **argv)
-{
- if (t0 != t1)
- abort ();
-
- return 0;
-}
-