This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/21609] New: Incomplete workaround for GCC __tls_get_addr ABI issue on x86-64


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]