The attached patch fixes a few failures on bare-metal arm that happen because `dg-require-effective-target tls` only checks for compile-time support, whereas `dg-require-effective-target tls_runtime` checks for runtime support too. The latter is needed due to the missing support for __aeabi_read_tp which causes link-time failure of this test.

Tested on arm-none-eabi.


2015-09-29  Jonathan Roelofs  <jonat...@codesourcery.com>

       * gcc.dg/debug/pr65771.c: Use tls_runtime instead of tls.


Committed r228273 by Sandra.

--
Jon Roelofs
jonat...@codesourcery.com
CodeSourcery / Mentor Embedded
Index: gcc/testsuite/gcc.dg/debug/pr65771.c
===================================================================
--- gcc/testsuite/gcc.dg/debug/pr65771.c  (revision 228267)
+++ gcc/testsuite/gcc.dg/debug/pr65771.c  (working copy)
 -1,6 +1,6 @@
 /* PR debug/65771 */
 /* { dg-do link } */
-/* { dg-require-effective-target tls } */
+/* { dg-require-effective-target tls_runtime } */
 /* { dg-add-options tls } */
 
 struct S { int s; int t; };

Reply via email to