[PATCH v2][AArch64] Add more cfi annotations to tlsdesc entry points

Szabolcs Nagy szabolcs.nagy@arm.com
Wed Jun 21 14:05:00 GMT 2017


On 13/12/16 12:34, Szabolcs Nagy wrote:
> Backtrace through _dl_tlsdesc_resolve_rela was broken because the offset
> of x30 from cfa was not in the debug info.
> 
> Add enough annotation so backtracing from the dynamic linker through
> tlsdesc entry points works and the debugger shows registers correctly.
> 
> v2:
> - group cfi_rel_offset annotations for smaller debug info.
> 
> 2016-12-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
> 
> 	* sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
> 	annotation.
> 	(_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
> 

committed.



More information about the Libc-alpha mailing list