[PATCH][aarch64] fix inline asm clobber list in tls-macros.h
Szabolcs Nagy
szabolcs.nagy@arm.com
Thu Mar 5 10:12:00 GMT 2015
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?
Changelog:
2015-03-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
* sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber list.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-tls-macros.diff
Type: text/x-patch
Size: 451 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150305/b6448974/attachment.bin>
More information about the Libc-alpha
mailing list