Inconsistent value definition - R_AARCH64_TLS_DTPMOD64

Richard Earnshaw rearnsha@arm.com
Mon Aug 18 10:18:00 GMT 2014


Han,

Thanks for bringing this to our attention.  While this is technically a
bug in GNU binutils, the fact that it's been deployed in multiple
releases means we'll need to give some thought as to the best solution
here; other vendors may well be using these relocations as per the
specification so simply swapping the definitions in AAELF64 may not be
an option.

I'll get back to you once I've discussed what might be the best way
forward with some colleagues.

R.

On 16/08/14 01:00, Hán Shěn (沈涵) wrote:
> Hi, while we are implementing gold for aarch64, we found reloc type
> R_AARCH64_TLS_DTPMOD64 is defined as 1029 in the manual from
> http://infocenter.arm.com/help/topic/com.arm.doc.ihi0056b/IHI0056B_aaelf64.pdf
> while actually in current bfd and dynamic linker, it is defined as
> 1028 (binutils-gdb/include/elf/aarch64.h and glibc/elf/elf.h). Shall
> we make them consistent to avoid confusion? (Same inconsistency for
> R_AARCH64_TLS_DTPREL64 )
> 
> Thanks,
> Han
> 




More information about the Binutils mailing list