public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed, PATCH] gcc.dg/debug/pr65771.c: Use tls_runtime instead of tls.
@ 2015-09-30  2:07 Jonathan Roelofs
  0 siblings, 0 replies; only message in thread
From: Jonathan Roelofs @ 2015-09-30  2:07 UTC (permalink / raw)
  To: GCC Patches; +Cc: Sandra Loosemore

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

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  <jonathan@codesourcery.com>

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


Committed r228273 by Sandra.

-- 
Jon Roelofs
jonathan@codesourcery.com
CodeSourcery / Mentor Embedded

[-- Attachment #2: fix_pr65771_testcase.diff --]
[-- Type: text/plain, Size: 442 bytes --]

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; };

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-30  0:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-30  2:07 [committed, PATCH] gcc.dg/debug/pr65771.c: Use tls_runtime instead of tls Jonathan Roelofs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).