Hi Srinath, > This patch fixes the missing debuginfo for the TLS variables by emitting > ".xword %dtprel(symbol)" along with DW_AT_location in .debug_info section. > > Support for the assembler directive ".xword %dtprel(symbol)" was recently > introduced. To prevent assembler errors when building GCC with older > versions of binutils, the patch adds a configure check that skips these > changes if the assembler does not support ".xword %dtprel(symbol)". > > Related ABI changes are proposed here [1]. > [1] https://github.com/ARM-software/abi-aa/pull/330 > > Regression tested on aarch64-linux-gnu and found no regressions. > > Ok for trunk ? And also to other GCC version?
LGTM for trunk. Since this is a new feature rather than a codegen bug, it wouldn't be eligible for backporting. Cheers, Wilco
