What x86 TLS relocations can be in debug section?

H. J. Lu hjl@lucon.org
Mon Mar 8 18:29:00 GMT 2004


Intel compiler may generate some x86 TLS relocations, R_386_TLS_LE,
R_386_TLS_GOTIE and R_386_TLS_IE, against debug section. The current
x86 linker will try optimize R_386_TLS_GOTIE and R_386_TLS_IE. But
the optimization won't work in debug section. My questions are

1. Are TLS relocations needed in debug section?
2. If not, how does gdb handle TLS?


H.J.



More information about the Binutils mailing list