This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
What x86 TLS relocations can be in debug section?
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com, GDB <gdb at sources dot redhat dot com>
- Date: Mon, 8 Mar 2004 10:29:06 -0800
- Subject: What x86 TLS relocations can be in debug section?
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.