This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 middle-end/34475] TLS and PIE don't mix on x86-64



------- 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


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