fix dlsym of thread-local symbols on archs with DTP_OFFSET!=0
commit 6ba5517a 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.
Showing
想要评论请 注册 或 登录