From: Jiong Wang Date: Wed, 26 Aug 2015 13:16:19 +0000 (+0000) Subject: [AArch64][TLSIE][1/2] Rename test source file for reuse X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ecade433a2a578ae25b6eaf7d235bcdb71cee06;p=gcc.git [AArch64][TLSIE][1/2] Rename test source file for reuse 2015-08-26 Jiong Wang 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7e3828fb05d..2e1198e78a0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2015-08-26 Jiong Wang + + * 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 * 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 index 00000000000..d92281b6de2 --- /dev/null +++ b/gcc/testsuite/gcc.target/aarch64/tls_1.x @@ -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; +} + diff --git a/gcc/testsuite/gcc.target/aarch64/tlsle12_1.c b/gcc/testsuite/gcc.target/aarch64/tlsle12_1.c index 846aa9897d9..c0bf488b3b6 100644 --- a/gcc/testsuite/gcc.target/aarch64/tlsle12_1.c +++ b/gcc/testsuite/gcc.target/aarch64/tlsle12_1.c @@ -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 } } */ diff --git a/gcc/testsuite/gcc.target/aarch64/tlsle24_1.c b/gcc/testsuite/gcc.target/aarch64/tlsle24_1.c index e8b14aea36e..9acc4c85a76 100644 --- a/gcc/testsuite/gcc.target/aarch64/tlsle24_1.c +++ b/gcc/testsuite/gcc.target/aarch64/tlsle24_1.c @@ -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 } } */ diff --git a/gcc/testsuite/gcc.target/aarch64/tlsle32_1.c b/gcc/testsuite/gcc.target/aarch64/tlsle32_1.c index edc06ba0281..0610d2ac15c 100644 --- a/gcc/testsuite/gcc.target/aarch64/tlsle32_1.c +++ b/gcc/testsuite/gcc.target/aarch64/tlsle32_1.c @@ -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 index d92281b6de2..00000000000 --- a/gcc/testsuite/gcc.target/aarch64/tlsle_1.x +++ /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; -} -