commit | 37cd1676395e5ebdae3f372bf59d4fef54be9818 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Fri Oct 12 12:26:44 2018 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Fri Oct 12 12:31:36 2018 -0400 |
tree | 7fb8bbaff9b8ac424828e490dff24a8fc8349de0 | |
parent | b6d701a47504e5ef9c6a19b2f6a703c72cb9e8ac [diff] |
fix dlsym of thread-local symbols on archs with DTP_OFFSET!=0 commit 6ba5517a460c6c438f64d69464fdfc3269a4c91a modified __tls_get_addr to offset the address by +DTP_OFFSET (0x8000 on powerpc, mips, etc.) and adjusted the result of DTPREL relocations by -DTP_OFFSET to compensate, but missed changing the argument setup for calls to __tls_get_addr from dlsym.