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.