This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][aarch64] fix inline asm clobber list in tls-macros.h
- From: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- To: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Cc: Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>
- Date: Wed, 13 May 2015 10:36:14 +0100
- Subject: Re: [PATCH][aarch64] fix inline asm clobber list in tls-macros.h
- Authentication-results: sourceware.org; auth=none
- References: <54F82BFF dot 40209 at arm dot com>
On 05/03/15 10:12, Szabolcs Nagy wrote:
> AArch64 TLS_GD macro calls __tlsget_addr from inline asm, because
> the exact TLS instruction sequence matters, but cc was not on the
> clobber list so elf/tst-tlsmod2.so was miscompiled and thus
> elf/tst-tls4 and elf/tst-tls-dlinfo tests failed.
>
> It seems tls-macros.h is only used in tests.
> Is this patch ok?
>
ping
> Changelog:
>
> 2015-03-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
>
> * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber list.
>