[COMMITTED PATCH] BZ#18383: Add test case for large alignment in TLS blocks.

H.J. Lu hjl.tools@gmail.com
Thu May 7 20:30:00 GMT 2015


On Thu, May 7, 2015 at 1:15 PM, Roland McGrath <roland@hack.frob.com> wrote:
> Note that your change only affects static linking, while the bug on ARM
> affects dynamic linking as well.
>
> On arm-linux-gnueabihf (test runs under qemu), your change did not fix
> tst-tlsalign-static and it caused these regressions:
>

Someone needs to investigate TLS_DTV_AT_TP targets.  Here is a patch
for TLS_TCB_AT_TP targets.  OK for master?


-- 
H.J.
----
We need to align TCB offset to the maximum alignment for TLS_TCB_AT_TP
targets.

* csu/libc-tls.c (__libc_setup_tls): Align TCB offset to the
maximum alignment for TLS_TCB_AT_TP targets.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-a-typo-in-__libc_setup_tls.patch
Type: text/x-patch
Size: 1038 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150507/0810459f/attachment.bin>


More information about the Libc-alpha mailing list