[Bug dynamic-link/21609] New: Incomplete workaround for GCC __tls_get_addr ABI issue on x86-64
fweimer at redhat dot com
sourceware-bugzilla@sourceware.org
Sun Jun 18 09:10:00 GMT 2017
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.
More information about the Glibc-bugs
mailing list