[Bug middle-end/34475] TLS and PIE don't mix on x86-64
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Dec 15 14:59:00 GMT 2007
------- Comment #2 from jakub at gcc dot gnu dot org 2007-12-15 14:59 -------
Actually, thinking about it again, this might be a linker bug instead.
Because while code/data in PIEs is relocatable, the relative addresses of
TLS vars within TLS block should be constant, so ld should be able to insert
that (constant) offset into the instructions without needing a dynamic
relocation.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34475
More information about the Gcc-bugs
mailing list