This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/21609] New: Incomplete workaround for GCC __tls_get_addr ABI issue on x86-64
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 18 Jun 2017 09:10:50 +0000
- Subject: [Bug dynamic-link/21609] New: Incomplete workaround for GCC __tls_get_addr ABI issue on x86-64
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21609
Bug ID: 21609
Summary: Incomplete workaround for GCC __tls_get_addr ABI issue
on x86-64
Product: glibc
Version: 2.25
Status: NEW
Severity: normal
Priority: P2
Component: dynamic-link
Assignee: unassigned at sourceware dot org
Reporter: fweimer at redhat dot com
Target Milestone: ---
Target: x86-64
In bug 15128, glibc added some code to compensate for an invalid calling
sequence of the __tls_get_addr function generated by GCC for old binaries.
However, this code only works around issues caused by the GCC ABI violation
within the dynamic linker. It does not protect __tls_get_addr itself. With
recent GCC enhancements, __tls_get_addr and the code it calls (notably malloc)
need stack realignment as well.
--
You are receiving this mail because:
You are on the CC list for the bug.