[Bug dynamic-link/18383] TLS blocks with very large alignment not handled right
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Wed Jun 24 23:32:00 GMT 2015
https://sourceware.org/bugzilla/show_bug.cgi?id=18383
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via a7fcc2f8edb26e4d54b6a740aaa3f3bb0caebd14 (commit)
from f9536db79065ad00efd877b4d80a1dd06938bd0a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a7fcc2f8edb26e4d54b6a740aaa3f3bb0caebd14
commit a7fcc2f8edb26e4d54b6a740aaa3f3bb0caebd14
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu May 7 13:26:34 2015 -0700
Align TCB offset to the maximum alignment
We need to align TCB offset to the maximum alignment for TLS_TCB_AT_TP
targets, as _dl_allocate_tls_storage (in elf/dl-tls.c) does using
__libc_memalign and dl_tls_static_align.
[BZ #18383]
* csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
* elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
comment for i386/x86-64.
(test-xfail-tst-tlsalign-extern-static): Removed.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 9 +++++++++
csu/libc-tls.c | 5 ++++-
elf/Makefile | 5 +----
3 files changed, 14 insertions(+), 5 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list