[PATCH] Fix ARM TLS handling (PR target/58595)

Jakub Jelinek jakub@redhat.com
Fri Mar 7 20:18:00 GMT 2014


On Fri, Mar 07, 2014 at 09:14:04PM +0100, Jakub Jelinek wrote:
> On Fri, Mar 07, 2014 at 12:10:05PM -0800, Andrew Pinski wrote:
> > On Fri, Mar 7, 2014 at 11:56 AM, Christophe Lyon
> > <christophe.lyon@linaro.org> wrote:
> > > It seems the new test fails at execution on aarch64-none-elf (and
> > > aarch64_be-none-elf) using the ARM Foundation Model as simulator.
> > 
> > 
> > The new testcase should have been disabled for the aarch64-elf target
> > as it does not have TLS support.
> 
> The testcase is:
> /* { dg-require-effective-target tls } */
> so if some target doesn't have TLS support (not even emulated?  There should
> be none, there is no reason why some target wouldn't support even emutls),
> then it shouldn't be true for that target.

Ah, looking at other tests, perhaps it should use:
/* { dg-require-effective-target tls_runtime } */
/* { dg-add-options tls } */
instead of that line.

	Jakub



More information about the Gcc-patches mailing list