This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] x86-64: Align the stack in __tls_get_addr [BZ #21609]
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-alpha at sourceware dot org, "H.J. Lu" <hjl dot tools at gmail dot com>
- Date: Sun, 2 Jul 2017 11:49:49 +0200
- Subject: Re: [PATCH] x86-64: Align the stack in __tls_get_addr [BZ #21609]
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 0C92181227
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 0C92181227
- References: <f5ac0827-0c3a-cc1d-eb14-6efb905bd53d@redhat.com> <14a88e5f-a8c6-cd78-a363-1368d175f605@redhat.com>
On 06/20/2017 03:59 PM, Florian Weimer wrote:
> 2017-06-20 Florian Weimer <fweimer@redhat.com>
>
> [BZ #21609]
> __tls_get_addr implementation with stack alignment for older GCC.
> * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
> * sysdeps/x86_64/tls_get_addr_compat.c: New file.
> * sysdeps/x86_64/dl-tls.c: Likewise.
> * sysdeps/x86_64/rtld-offets.h: Likewise.
> * sysdeps/x86_64/dl-tlsdesc.h: Include <dl-tls.h>.
> (tls_index): Remove definition.
> * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET, TI_OFFSET_OFFSET):
> Add.
> * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add
> tls_get_addr_compat.
> (gen-as-const-headers): Add rtld-offsets.sym.
Ping?
https://sourceware.org/ml/libc-alpha/2017-06/msg00922.html
Thanks,
Florian