[ARM/FDPIC v6 17/24] [ARM][testsuite] FDPIC: Handle *-*-uclinux*
authorChristophe Lyon <christophe.lyon@st.com>
Tue, 10 Sep 2019 08:05:26 +0000 (10:05 +0200)
committerChristophe Lyon <clyon@gcc.gnu.org>
Tue, 10 Sep 2019 08:05:26 +0000 (10:05 +0200)
Add *-*-uclinux* to tests that work on this target.

2019-09-10  Christophe Lyon  <christophe.lyon@st.com>

gcc/testsuite/
* g++.dg/abi/forced.C: Add *-*-uclinux*.
* g++.dg/abi/guard2.C: Likewise.
* g++.dg/ext/cleanup-10.C: Likewise.
* g++.dg/ext/cleanup-11.C: Likewise.
* g++.dg/ext/cleanup-8.C: Likewise.
* g++.dg/ext/cleanup-9.C: Likewise.
* g++.dg/ext/sync-4.C: Likewise.
* g++.dg/ipa/comdat.C: Likewise.
* gcc.dg/20041106-1.c: Likewise.
* gcc.dg/cleanup-10.c: Likewise.
* gcc.dg/cleanup-11.c: Likewise.
* gcc.dg/cleanup-8.c: Likewise.
* gcc.dg/cleanup-9.c: Likewise.
* gcc.dg/fdata-sections-1.c: Likewise.
* gcc.dg/fdata-sections-2.c: Likewise.
* gcc.dg/pr39323-1.c: Likewise.
* gcc.dg/pr39323-2.c: Likewise.
* gcc.dg/pr39323-3.c: Likewise.
* gcc.dg/pr65780-1.c: Likewise.
* gcc.dg/pr65780-2.c: Likewise.
* gcc.dg/pr67338.c: Likewise.
* gcc.dg/pr78185.c: Likewise.
* gcc.dg/pr83100-1.c: Likewise.
* gcc.dg/pr83100-4.c: Likewise.
* gcc.dg/strlenopt-12g.c: Likewise.
* gcc.dg/strlenopt-14g.c: Likewise.
* gcc.dg/strlenopt-14gf.c: Likewise.
* gcc.dg/strlenopt-16g.c: Likewise.
* gcc.dg/strlenopt-17g.c: Likewise.
* gcc.dg/strlenopt-18g.c: Likewise.
* gcc.dg/strlenopt-1f.c: Likewise.
* gcc.dg/strlenopt-22g.c: Likewise.
* gcc.dg/strlenopt-2f.c: Likewise.
* gcc.dg/strlenopt-31g.c: Likewise.
* gcc.dg/strlenopt-33g.c: Likewise.
* gcc.dg/strlenopt-4g.c: Likewise.
* gcc.dg/strlenopt-4gf.c: Likewise.
* gcc.dg/strncmp-2.c: Likewise.
* gcc.dg/struct-ret-3.c: Likewise.
* gcc.dg/torture/pr69760.c: Likewise.
* gcc.target/arm/div64-unwinding.c: Likewise.
* gcc.target/arm/stack-checking.c: Likewise.
* gcc.target/arm/synchronize.c: Likewise.
* gcc.target/arm/pr66912.c: Add arm*-*-uclinuxfdpiceabi.
* lib/target-supports.exp (check_effective_target_pie): Likewise.
(check_effective_target_sync_long_long_runtime): Likewise.
(check_effective_target_sync_int_long): Likewise.
(check_effective_target_sync_char_short): Likewise.

From-SVN: r275579

46 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/forced.C
gcc/testsuite/g++.dg/abi/guard2.C
gcc/testsuite/g++.dg/ext/cleanup-10.C
gcc/testsuite/g++.dg/ext/cleanup-11.C
gcc/testsuite/g++.dg/ext/cleanup-8.C
gcc/testsuite/g++.dg/ext/cleanup-9.C
gcc/testsuite/g++.dg/ext/sync-4.C
gcc/testsuite/g++.dg/ipa/comdat.C
gcc/testsuite/gcc.dg/20041106-1.c
gcc/testsuite/gcc.dg/cleanup-10.c
gcc/testsuite/gcc.dg/cleanup-11.c
gcc/testsuite/gcc.dg/cleanup-8.c
gcc/testsuite/gcc.dg/cleanup-9.c
gcc/testsuite/gcc.dg/fdata-sections-1.c
gcc/testsuite/gcc.dg/fdata-sections-2.c
gcc/testsuite/gcc.dg/pr39323-1.c
gcc/testsuite/gcc.dg/pr39323-2.c
gcc/testsuite/gcc.dg/pr39323-3.c
gcc/testsuite/gcc.dg/pr65780-1.c
gcc/testsuite/gcc.dg/pr65780-2.c
gcc/testsuite/gcc.dg/pr67338.c
gcc/testsuite/gcc.dg/pr78185.c
gcc/testsuite/gcc.dg/pr83100-1.c
gcc/testsuite/gcc.dg/pr83100-4.c
gcc/testsuite/gcc.dg/strlenopt-12g.c
gcc/testsuite/gcc.dg/strlenopt-14g.c
gcc/testsuite/gcc.dg/strlenopt-14gf.c
gcc/testsuite/gcc.dg/strlenopt-16g.c
gcc/testsuite/gcc.dg/strlenopt-17g.c
gcc/testsuite/gcc.dg/strlenopt-18g.c
gcc/testsuite/gcc.dg/strlenopt-1f.c
gcc/testsuite/gcc.dg/strlenopt-22g.c
gcc/testsuite/gcc.dg/strlenopt-2f.c
gcc/testsuite/gcc.dg/strlenopt-31g.c
gcc/testsuite/gcc.dg/strlenopt-33g.c
gcc/testsuite/gcc.dg/strlenopt-4g.c
gcc/testsuite/gcc.dg/strlenopt-4gf.c
gcc/testsuite/gcc.dg/strncmp-2.c
gcc/testsuite/gcc.dg/struct-ret-3.c
gcc/testsuite/gcc.dg/torture/pr69760.c
gcc/testsuite/gcc.target/arm/div64-unwinding.c
gcc/testsuite/gcc.target/arm/pr66912.c
gcc/testsuite/gcc.target/arm/stack-checking.c
gcc/testsuite/gcc.target/arm/synchronize.c
gcc/testsuite/lib/target-supports.exp

index 97c14f9381bc843229f671764b12be6328bc401d..8d23b97e10814ed41e902d38029cc2cad04e49ea 100644 (file)
@@ -1,3 +1,54 @@
+2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
+
+       * g++.dg/abi/forced.C: Add *-*-uclinux*.
+       * g++.dg/abi/guard2.C: Likewise.
+       * g++.dg/ext/cleanup-10.C: Likewise.
+       * g++.dg/ext/cleanup-11.C: Likewise.
+       * g++.dg/ext/cleanup-8.C: Likewise.
+       * g++.dg/ext/cleanup-9.C: Likewise.
+       * g++.dg/ext/sync-4.C: Likewise.
+       * g++.dg/ipa/comdat.C: Likewise.
+       * gcc.dg/20041106-1.c: Likewise.
+       * gcc.dg/cleanup-10.c: Likewise.
+       * gcc.dg/cleanup-11.c: Likewise.
+       * gcc.dg/cleanup-8.c: Likewise.
+       * gcc.dg/cleanup-9.c: Likewise.
+       * gcc.dg/fdata-sections-1.c: Likewise.
+       * gcc.dg/fdata-sections-2.c: Likewise.
+       * gcc.dg/pr39323-1.c: Likewise.
+       * gcc.dg/pr39323-2.c: Likewise.
+       * gcc.dg/pr39323-3.c: Likewise.
+       * gcc.dg/pr65780-1.c: Likewise.
+       * gcc.dg/pr65780-2.c: Likewise.
+       * gcc.dg/pr67338.c: Likewise.
+       * gcc.dg/pr78185.c: Likewise.
+       * gcc.dg/pr83100-1.c: Likewise.
+       * gcc.dg/pr83100-4.c: Likewise.
+       * gcc.dg/strlenopt-12g.c: Likewise.
+       * gcc.dg/strlenopt-14g.c: Likewise.
+       * gcc.dg/strlenopt-14gf.c: Likewise.
+       * gcc.dg/strlenopt-16g.c: Likewise.
+       * gcc.dg/strlenopt-17g.c: Likewise.
+       * gcc.dg/strlenopt-18g.c: Likewise.
+       * gcc.dg/strlenopt-1f.c: Likewise.
+       * gcc.dg/strlenopt-22g.c: Likewise.
+       * gcc.dg/strlenopt-2f.c: Likewise.
+       * gcc.dg/strlenopt-31g.c: Likewise.
+       * gcc.dg/strlenopt-33g.c: Likewise.
+       * gcc.dg/strlenopt-4g.c: Likewise.
+       * gcc.dg/strlenopt-4gf.c: Likewise.
+       * gcc.dg/strncmp-2.c: Likewise.
+       * gcc.dg/struct-ret-3.c: Likewise.
+       * gcc.dg/torture/pr69760.c: Likewise.
+       * gcc.target/arm/div64-unwinding.c: Likewise.
+       * gcc.target/arm/stack-checking.c: Likewise.
+       * gcc.target/arm/synchronize.c: Likewise.
+       * gcc.target/arm/pr66912.c: Add arm*-*-uclinuxfdpiceabi.
+       * lib/target-supports.exp (check_effective_target_pie): Likewise.
+       (check_effective_target_sync_long_long_runtime): Likewise.
+       (check_effective_target_sync_int_long): Likewise.
+       (check_effective_target_sync_char_short): Likewise.
+
 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
 
        * gcc.target/arm/eliminate.c: Accept only nonpic targets.
index 0e6be28bd4f447207c1ec1308a8644a941629e2c..2d1ec533ec1a72647e5da3bf34292fb6cc7781af 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-do run { target *-*-linux* *-*-gnu* } }
+// { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } }
 // { dg-options "-pthread" }
 
 #include <pthread.h>
index c35fa7e1c82b98f1d719ac3f3f87651e1b21fba1..74139a877297dcd213a77fc9e1b972506ef467f5 100644 (file)
@@ -1,6 +1,6 @@
 // PR c++/41611
 // Test that the guard gets its own COMDAT group.
-// { dg-final { scan-assembler "_ZGVZN1A1fEvE1i,comdat" { target *-*-linux* *-*-gnu* } } }
+// { dg-final { scan-assembler "_ZGVZN1A1fEvE1i,comdat" { target *-*-linux* *-*-gnu* *-*-uclinux* } } }
 
 struct A {
   static int f()
index 66c7b76bb6be3402b9bc861fcb88b2a367420cbc..56aeb66b8507c75698e33829fca715b838da49b4 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* } } */
+/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* *-*-uclinux* } } */
 /* { dg-options "-fexceptions -fnon-call-exceptions -O2" } */
 /* Verify that cleanups work with exception handling through signal frames
    on alternate stack.  */
index 6e965214127443582f5eb00ba1bf98576f792d29..c6d35607d1a36058bc1e514091fe49a6da5eb9bb 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* } } */
+/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* *-*-uclinux* } } */
 /* { dg-options "-fexceptions -fnon-call-exceptions -O2" } */
 /* Verify that cleanups work with exception handling through realtime signal
    frames on alternate stack.  */
index ccf9bef681696ac96867305607eb0feff674ad6a..e99508dfdbfa974f341fa44f86a5b867443ebb01 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* } } */
+/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* *-*-uclinux* } } */
 /* { dg-options "-fexceptions -fnon-call-exceptions -O2" } */
 /* Verify that cleanups work with exception handling through signal
    frames.  */
index dcdfcae0da76f117573818bc9f0479bc5d33f1b1..45e5f90bceefc9acf55ff261105d142e02204b49 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* } } */
+/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* *-*-uclinux* } } */
 /* { dg-options "-fexceptions -fnon-call-exceptions -O2" } */
 /* Verify that cleanups work with exception handling through realtime
    signal frames.  */
index 8a2de48ddda4ebefb5b2c2b9e5d8ddd39f77bab2..029afb011563c980e750e92789cbc7e458078bf1 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* } } */
+/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* *-*-uclinux* } } */
 /* FIXME The following additional option should be removed after the fix for radr://19802258.
 /* { dg-xfail-run-if "PR60563 radr://19802258" { *-*-darwin* } } */
 /* { dg-require-effective-target sync_long_long_runtime } */
index 1945e3259689093fb48b431f7276ed57bc7309c7..f3df99a7200d58169c4c76356442980d1824e130 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target *-*-linux* *-*-gnu* } } */
+/* { dg-do compile { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2 -fdump-ipa-comdats"  } */
 #include <stdio.h>
 __attribute__ ((noinline))
index cba4a06f11a3154952646b2abd2ced942b41c0df..95579ff3ad3fec8de8b66205c6228c3b673ed19c 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target *-*-linux* *-*-gnu* *-*-solaris* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-solaris* *-*-uclinux* } } */
 /* { dg-options -O2 } */
 
 #include <sys/types.h>
index 1af63ea6eafeecd4923da8fbbc53af18786d9907..9fc8658192f1c3ace765e9b272fdfbcd05723aae 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* } } */
+/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* *-*-uclinux* } } */
 /* { dg-options "-fexceptions -fnon-call-exceptions -O2" } */
 /* { dg-require-effective-target exceptions } */
 /* Verify that cleanups work with exception handling through signal frames
index c1f19fe2cf94a017cf2817f1f70cf2b96dd8593e..6b499d4583e1f147ac8884946d989bf54784f79f 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* } } */
+/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* *-*-uclinux* } } */
 /* { dg-options "-fexceptions -fnon-call-exceptions -O2" } */
 /* { dg-require-effective-target exceptions } */
 /* Verify that cleanups work with exception handling through realtime signal
index 45abdb2a0503d69fe659e9ba4328dcd27b0f6665..87f4186561e53171e3ed9f57da3d8738f11d9b2c 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* } } */
+/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* *-*-uclinux* } } */
 /* { dg-options "-fexceptions -fnon-call-exceptions -O2" } */
 /* { dg-require-effective-target exceptions } */
 /* Verify that cleanups work with exception handling through signal
index 98dc268e50d9dc11b57bfb86b4e55a08d4e753bc..d34ce12224f0ee0670f00fee6f7e86370295d801 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* } } */
+/* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* *-*-uclinux* } } */
 /* { dg-options "-fexceptions -fnon-call-exceptions -O2" } */
 /* { dg-require-effective-target exceptions } */
 /* Verify that cleanups work with exception handling through realtime
index 51686b92179053a45d2eb252ee0f726be1c141e1..e8a6639f32e38fdb539232288c92000f000ca79e 100644 (file)
@@ -1,7 +1,7 @@
 /* PR middle-end/15486 */
 /* Origin: Jonathan Larmour <jifl-bugzilla@jifvik.org> */
 
-/* { dg-do compile { target *-*-linux* *-*-gnu* } } */
+/* { dg-do compile { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-fdata-sections" } */
 
 int x;
index dda90ba7cc34a79bfdee78802a2c30671ec50fd1..48d44a2f18e9d0b85fe2303cbd82a802a688d448 100644 (file)
@@ -4,7 +4,7 @@
 /* This checks that string constants are put in per-function rodata
    sections, so that they can be garbage collected.  */
 
-/* { dg-do compile { target *-*-linux* } } */
+/* { dg-do compile { target *-*-linux* *-*-uclinux* } } */
 /* { dg-options "-O -ffunction-sections -fdata-sections" } */
 
 const char *f1(void) { return "falderalde"; }
index 7a7fd63a416866178d067815f036ffe8bb459a15..d84009cad10242627358f6e9729da85279269a24 100644 (file)
@@ -1,5 +1,5 @@
 /* PR c/39323 - MAX_OFILE_ALIGNMENT in elfos.h is too big */
-/* { dg-do compile { target *-*-linux* *-*-gnu* } } */
+/* { dg-do compile { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 
 int foo __attribute__ ((aligned(1 << 29))) =  20; /* { dg-error "requested alignment" } */
 typedef int __attribute__ ((aligned(1 << 29))) int29; /* { dg-error "requested alignment" } */
index a870729734160a8531906f4106c787da938920e8..6b6cb2e2bd9f39f95500570bb118e43bf5704f64 100644 (file)
@@ -1,5 +1,5 @@
 /* PR c/39323 */
-/* { dg-do compile { target *-*-linux* *-*-gnu* } } */
+/* { dg-do compile { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 
 int bar __attribute__ ((aligned(1 << 28))) =  20;
 
index b452d3c96e5cc20480611e188c43507972874eaa..2e2c1a25320fb3ba47cf515e01a15c74f7fad103 100644 (file)
@@ -1,5 +1,5 @@
 /* PR c/39323 */
-/* { dg-do compile { target *-*-linux* *-*-gnu* } } */
+/* { dg-do compile { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 
 typedef int __attribute__ ((aligned(1 << 28))) int28;
 int28 foo = 20;
index b586211b6497be5305a46c021c843d22a2055039..5e3226e54fafa96279e66025ce298e7b941dbb81 100644 (file)
@@ -1,5 +1,5 @@
 /* PR target/65780 */
-/* { dg-do link { target *-*-linux* *-*-gnu* } } */
+/* { dg-do link { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2" } */
 
 int optopt;
index bff33237cf52349130acd00873c5bf4a2006322c..932cbe1c4dd6e2f3c63864ac868f7eddd75907d1 100644 (file)
@@ -1,5 +1,5 @@
 /* PR target/65780 */
-/* { dg-do link { target *-*-linux* *-*-gnu* } } */
+/* { dg-do link { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-require-effective-target pie } */
 /* { dg-options "-O2 -fpie" } */
 
index 0fdc3024e8ec3b6a24dfef305b898916d8c9735e..7bfbef29be5058c00b87f9be492906fe77b2b9cd 100644 (file)
@@ -1,4 +1,4 @@
 /* PR c/67338 */
-/* { dg-do compile { target *-*-linux* *-*-gnu* } } */
+/* { dg-do compile { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 
 struct S { __attribute__((aligned (1 << 28))) double a; };
index 405f7489dae05c937352cf58eeb714114ac94e6d..d7781b2080fb3a2387765dc6ad2b6091e90971f0 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target *-*-linux* *-*-gnu* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O" } */
 
 #include <unistd.h>
index 233c1f687b0bbce969e99a3a25e070991f4115aa..ccfb8c6948d3fa65c2e4cd60696124268e710227 100644 (file)
@@ -1,5 +1,5 @@
 /* PR target/83100 */
-/* { dg-do compile { target *-*-linux* *-*-gnu* } } */
+/* { dg-do compile { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2 -fcommon -fdata-sections" } */
 
 const int a;
index bb26735dd1b046975fee46fbfa1ea6813f217dbd..2f83247263c484b7158604903cf09f39a5ddc0cf 100644 (file)
@@ -1,5 +1,5 @@
 /* PR target/83100 */
-/* { dg-do compile { target *-*-linux* *-*-gnu* } } */
+/* { dg-do compile { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2 -fno-common -fdata-sections" } */
 
 const int a;
index f1dec1f9c97a16347420cb6f7c144fe9a6cee3da..fb0eeb2e82041e06671531528e2c1338da4a0d4f 100644 (file)
@@ -1,5 +1,5 @@
 /* This test needs runtime that provides stpcpy function.  */
-/* { dg-do run { target *-*-linux* *-*-gnu* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2" } */
 
 #define USE_GNU
index 1368ed3f68e9b6dabfc91d7184ecbe3a7ae8f8e0..81ddcc2d407bff8154edad20a53609342c82a3b7 100644 (file)
@@ -1,5 +1,5 @@
 /* This test needs runtime that provides stpcpy and mempcpy functions.  */
-/* { dg-do run { target *-*-linux* *-*-gnu* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2 -fdump-tree-strlen" } */
 /* Bionic targets don't have mempcpy */
 /* { dg-require-effective-target non_bionic } */
index f7db2a8a53eb3acf6aff3a6ee3c8b44aaa0b90a2..54cff838a68eef07154d581e7db716143cacd0d0 100644 (file)
@@ -1,6 +1,6 @@
 /* This test needs runtime that provides stpcpy, mempcpy and __*_chk
    functions.  */
-/* { dg-do run { target *-*-linux* *-*-gnu* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2 -fdump-tree-strlen" } */
 /* Bionic targets don't have mempcpy */
 /* { dg-require-effective-target non_bionic } */
index 816cbbce8013bea4632451506d812e173b478e2b..e847a7aa74188f5207ee3053b610ec1378d350f4 100644 (file)
@@ -1,5 +1,5 @@
 /* This test needs runtime that provides stpcpy function.  */
-/* { dg-do run { target *-*-linux* *-*-gnu* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2 -fdump-tree-strlen" } */
 
 #define USE_GNU
index aa86f78ec7f27ce2286b5a70553a8879ce9325bf..9e6373c065851fddd780ab1755aaa1305016a969 100644 (file)
@@ -1,5 +1,5 @@
 /* This test needs runtime that provides stpcpy function.  */
-/* { dg-do run { target *-*-linux* *-*-gnu* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2 -fdump-tree-strlen" } */
 
 #define USE_GNU
index de692e0767ac965d98330744adbc4440b5e6a3de..0c219b8372b242f1693225b56a8a5154f1eb08eb 100644 (file)
@@ -1,5 +1,5 @@
 /* This test needs runtime that provides stpcpy function.  */
-/* { dg-do run { target *-*-linux* *-*-gnu* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2 -fdump-tree-strlen" } */
 
 #define USE_GNU
index 4e3abd9472d67e7728a8512450bef44e977caa9d..e7d817f9da2209acad04d8bb666f7d758778f231 100644 (file)
@@ -1,5 +1,5 @@
 /* This test needs runtime that provides __*_chk functions.  */
-/* { dg-do run { target *-*-linux* *-*-gnu* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinu* } } */
 /* { dg-options "-O2 -fdump-tree-strlen" } */
 
 #define FORTIFY_SOURCE 2
index 1ecb85eae0cbb9fcd141a420b19ee46ce797cd10..6ee6bef63a10f3f0d6bbd383a28c5ee9dba00c97 100644 (file)
@@ -1,5 +1,5 @@
 /* This test needs runtime that provides stpcpy function.  */
-/* { dg-do run { target *-*-linux* *-*-gnu* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2 -fdump-tree-strlen" } */
 
 #define USE_GNU
index 5786f8a1904764ba830163740ed113649d77d197..c0c7f388eb2e0362cfcbb7396a16040f5e089f6e 100644 (file)
@@ -1,5 +1,5 @@
 /* This test needs runtime that provides __*_chk functions.  */
-/* { dg-do run { target *-*-linux* *-*-gnu* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2 -fdump-tree-strlen" } */
 
 #define FORTIFY_SOURCE 2
index 4eff86448f1562be193e38e47850bebfc899edb0..eee4b57a4e0f976aac39c537a94a4a399b46f6b3 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target *-*-linux* *-*-gnu* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2 -fdump-tree-strlen" } */
 
 #define USE_GNU
index a814160e234253e068d0a48aad318d280d72ab36..195000832466e808a8c690fbe9bac86c236890f5 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target *-*-linux* *-*-gnu* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2 -fdump-tree-strlen" } */
 
 #define USE_GNU
index 88dcec647e7a9bbd2acce301b03c08e09be04d1a..bf8aebb2acae0207757643aed5bc75dc78b93fd3 100644 (file)
@@ -1,5 +1,5 @@
 /* This test needs runtime that provides stpcpy function.  */
-/* { dg-do run { target *-*-linux* *-*-gnu* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2 -fdump-tree-strlen" } */
 
 #define USE_GNU
index 033661ad4a96a91a97813d49e99793cf0b4638ba..16eb5b04542aaac314c3b3dc72d2198475ed27d9 100644 (file)
@@ -1,5 +1,5 @@
 /* This test needs runtime that provides stpcpy and __*_chk functions.  */
-/* { dg-do run { target *-*-linux* *-*-gnu* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2 -fdump-tree-strlen" } */
 
 #define USE_GNU
index f5555ba40817588b4ed7fed5a3ca0b87a3a9fccd..6818b304b36f2e0b0c17c4598b79b22ff72a26ff 100644 (file)
@@ -1,5 +1,5 @@
 /* Test strncmp builtin expansion for compilation and proper execution.  */
-/* { dg-do run { target *-*-linux* *-*-gnu* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-options "-O2" } */
 /* { dg-require-effective-target ptr32plus } */
 
index 4083bb4c75e0f9244849c21eea0276975b23a367..4c0a0e6e1ca1abb5663b67625700c42ed1292ac6 100644 (file)
@@ -1,7 +1,7 @@
 /* PR middle-end/31309 */
 /* Origin: Peeter Joot <peeterj@ca.ibm.com> */
 
-/* { dg-do run { target *-*-linux* *-*-gnu* } } */
+/* { dg-do run { target *-*-linux* *-*-gnu* *-*-uclinux* } } */
 /* { dg-add-options stack_size } */
  
 #include <sys/mman.h>
index 8f24608d232f9a064567dc36fe2ade6155447eb7..53733c7c6a420bf797e4887f0f47b2318aeb87c6 100644 (file)
@@ -1,5 +1,5 @@
 /* PR tree-optimization/69760 */
-/* { dg-do run { target { { *-*-linux* *-*-gnu* } && mmap } } } */
+/* { dg-do run { target { { *-*-linux* *-*-gnu* *-*-uclinux* } && mmap } } } */
 /* { dg-options "-O2" } */
 
 #include <unistd.h>
index 7f112eeab9f57f9687cad87cd6a031726f1d9728..09442811fb63e1e50953cea493beb7c6e80e9411 100644 (file)
@@ -1,6 +1,6 @@
 /* Performing a 64-bit division should not pull in the unwinder.  */
 
-/* { dg-do run { target { ! *-*-linux* } } } */
+/* { dg-do run { target { { ! *-*-linux* } && { ! *-*-uclinux* } } } } */
 /* { dg-options "-O0" } */
 
 #include <stdlib.h>
index 27e4c452bd305d9544905122e3a28177627eccd3..7e6294cd52e00fc20f2416a114e7c45d02bef068 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target *-*-linux* } } */
+/* { dg-do compile { target *-*-linux* arm*-*-uclinuxfdpiceabi } } */
 /* { dg-options "-O2 -fpic" } */
 
 __attribute__((visibility("protected")))
index 4b53bedd97b73f8090cbe976ca72c5c11116940e..9d1d2b08f890a0834a9f6434290200a076d480de 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run { target { *-*-linux* } } } */
+/* { dg-do run { target { *-*-linux* *-*-uclinux* } } } */
 /* { dg-require-stack-check "" } */
 /* { dg-options "-fstack-check" } */
 
index 7ef10e2d97acf2669748c231cc88f64864a8a329..912f4070d4692a08896e4efa3eca6bc8894cd85a 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-final { scan-assembler "__sync_synchronize|dmb|mcr" { target arm*-*-linux-* } } } */
+/* { dg-final { scan-assembler "__sync_synchronize|dmb|mcr" { target arm*-*-linux-* arm*-*-uclinux* } } } */
 
 void *foo (void)
 {
index 3db1902b25c2c045620b3ff006057673d5171bb0..51677cc3e167cf62c37b9843521d0f569a9fc0f1 100644 (file)
@@ -1206,6 +1206,7 @@ proc check_effective_target_pie { } {
         || [istarget *-*-dragonfly*]
         || [istarget *-*-freebsd*]
         || [istarget *-*-linux*]
+        || [istarget arm*-*-uclinuxfdpiceabi]
         || [istarget *-*-gnu*]
         || [istarget *-*-amdhsa]} {
        return 1;
@@ -6857,6 +6858,7 @@ proc check_effective_target_sync_long_long_runtime { } {
              } ""
          }])
         || [istarget aarch64*-*-*]
+        || [istarget arm*-*-uclinuxfdpiceabi]
         || ([istarget arm*-*-linux-*]
             && [check_runtime sync_longlong_runtime {
                 #include <stdlib.h>
@@ -6916,6 +6918,7 @@ proc check_effective_target_sync_int_long { } {
             || [istarget aarch64*-*-*]
             || [istarget alpha*-*-*] 
             || [istarget arm*-*-linux-*] 
+            || [istarget arm*-*-uclinuxfdpiceabi] 
             || ([istarget arm*-*-*]
                 && [check_effective_target_arm_acq_rel])
             || [istarget bfin*-*linux*]
@@ -6939,6 +6942,7 @@ proc check_effective_target_sync_char_short { } {
             || [istarget i?86-*-*] || [istarget x86_64-*-*]
             || [istarget alpha*-*-*] 
             || [istarget arm*-*-linux-*] 
+            || [istarget arm*-*-uclinuxfdpiceabi] 
             || ([istarget arm*-*-*]
                 && [check_effective_target_arm_acq_rel])
             || [istarget hppa*-*linux*]