[AArch64][TLSIE][1/2] Rename test source file for reuse
authorJiong Wang <jiong.wang@arm.com>
Wed, 26 Aug 2015 13:16:19 +0000 (13:16 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Wed, 26 Aug 2015 13:16:19 +0000 (13:16 +0000)
2015-08-26  Jiong Wang  <jiong.wang@arm.com>

gcc/testsuite/
* 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.

From-SVN: r227216

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/tls_1.x [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/tlsle12_1.c
gcc/testsuite/gcc.target/aarch64/tlsle24_1.c
gcc/testsuite/gcc.target/aarch64/tlsle32_1.c
gcc/testsuite/gcc.target/aarch64/tlsle_1.x [deleted file]

index 7e3828fb05d5ebf9de54b73654317c68b2544ae8..2e1198e78a054b7313ad33bd0f8672c156831ebe 100644 (file)
@@ -1,3 +1,10 @@
+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):
diff --git a/gcc/testsuite/gcc.target/aarch64/tls_1.x b/gcc/testsuite/gcc.target/aarch64/tls_1.x
new file mode 100644 (file)
index 0000000..d92281b
--- /dev/null
@@ -0,0 +1,14 @@
+void abort (void);
+
+__thread int t0 = 0x10;
+__thread int t1 = 0x10;
+
+int
+main (int argc, char **argv)
+{
+  if (t0 != t1)
+    abort ();
+
+  return  0;
+}
+
index 846aa9897d9538716209c1f37d852975a1fad768..c0bf488b3b68e929a8272e70825c425f52b4d879 100644 (file)
@@ -2,7 +2,7 @@
 /* { 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 } } */
index e8b14aea36ee204659706b8e267a4ab43729c236..9acc4c85a7617886af578aa584483a985d15579b 100644 (file)
@@ -2,7 +2,7 @@
 /* { 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 } } */
index edc06ba0281c960abfc2aec218c64a846e4576b2..0610d2ac15c69e7e2e655a6e0359d5c54e97bee3 100644 (file)
@@ -3,7 +3,7 @@
 /* { 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 } } */
diff --git a/gcc/testsuite/gcc.target/aarch64/tlsle_1.x b/gcc/testsuite/gcc.target/aarch64/tlsle_1.x
deleted file mode 100644 (file)
index d92281b..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-void abort (void);
-
-__thread int t0 = 0x10;
-__thread int t1 = 0x10;
-
-int
-main (int argc, char **argv)
-{
-  if (t0 != t1)
-    abort ();
-
-  return  0;
-}
-