public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* g++.dg/tls/pr79288.C: Skip on vxworks_kernel (TLS model not supported)
@ 2020-12-22 21:57 Alexandre Oliva
  2020-12-29 18:51 ` Mike Stump
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Oliva @ 2020-12-22 21:57 UTC (permalink / raw)
  To: gcc-patches; +Cc: Jerome Lambourg


The only TLS model supported in VxWorks kernel mode is local-exec.

Regstrapped on x86_64-linux-gnu, and tested with -x-arm-wrs-vxworks7r2.
Ok to install?


from Jerome Lambourg <lambourg@adacore.com>
for  gcc/testsuite/ChangeLog

	* g++.dg/tls/pr79288.C: Skip on vxworks_kernel (TLS model
	not supported).
---
 gcc/testsuite/g++.dg/tls/pr79288.C |    1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/g++.dg/tls/pr79288.C b/gcc/testsuite/g++.dg/tls/pr79288.C
index da6751f5149d7..c41629d9d25ec 100644
--- a/gcc/testsuite/g++.dg/tls/pr79288.C
+++ b/gcc/testsuite/g++.dg/tls/pr79288.C
@@ -2,6 +2,7 @@
 // { dg-do compile { target { nonpic || pie_enabled } } }
 // { dg-require-effective-target tls }
 // { dg-options "-O2" }
+// { dg-skip-if "VxWorks kernel tls model is local-exec" { vxworks_kernel } }
 // { dg-final { scan-assembler-not "@tpoff" { target i?86-*-* x86_64-*-* } } }
 
 struct S


-- 
Alexandre Oliva, happy hacker  https://FSFLA.org/blogs/lxo/
   Free Software Activist         GNU Toolchain Engineer
        Vim, Vi, Voltei pro Emacs -- GNUlius Caesar

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: g++.dg/tls/pr79288.C: Skip on vxworks_kernel (TLS model not supported)
  2020-12-22 21:57 g++.dg/tls/pr79288.C: Skip on vxworks_kernel (TLS model not supported) Alexandre Oliva
@ 2020-12-29 18:51 ` Mike Stump
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Stump @ 2020-12-29 18:51 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: gcc-patches, Jerome Lambourg

On Dec 22, 2020, at 1:57 PM, Alexandre Oliva <oliva@adacore.com> wrote:
> 
> The only TLS model supported in VxWorks kernel mode is local-exec.
> 
> Regstrapped on x86_64-linux-gnu, and tested with -x-arm-wrs-vxworks7r2.
> Ok to install?

Ok.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-29 18:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-22 21:57 g++.dg/tls/pr79288.C: Skip on vxworks_kernel (TLS model not supported) Alexandre Oliva
2020-12-29 18:51 ` Mike Stump

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).