Inconsistent value definition - R_AARCH64_TLS_DTPMOD64

Yufeng Zhang yufengzhangdev@gmail.com
Sun Aug 17 00:08:00 GMT 2014


Hi Han,

Hmm... I'm surprised that this inconsistency has been there for so
long time, unnoticed.

Considering the fact that the aarch64 support has been available for
quite some time in both the binutils and the glibc, I think it will be
the ABI spec which needs to be updated instead.

Thanks,
Yufeng

On 16 August 2014 01:00, Hán Shěn (沈涵) <shenhan@google.com> 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