[PATCH, AArch64] Reinstate R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64 and R_AARCH64_TLS_TPREL64
Yufeng Zhang
Yufeng.Zhang@arm.com
Wed Nov 13 14:16:00 GMT 2013
More information about the Binutils mailing list
Wed Nov 13 14:16:00 GMT 2013
- Previous message (by thread): [PATCH] ld/ARM: Fix script-type testsuite failure.
- Next message (by thread): [PATCH, AArch64] Reinstate R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64 and R_AARCH64_TLS_TPREL64
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64 and R_AARCH64_TLS_TPREL64
were previously renamed to R_AARCH64_TLS_DTPMOD, R_AARCH64_TLS_DTPREL
and R_AARCH64_TLS_TPREL respectively during the implementation of the
ILP32 support. The latest revision of the AAELF64 document decides to
re-instate the original relocation names in order to preserve
backward-compatibility. This patch adds them back. One step beyond the
specification, R_AAARCH64_TLS_DTPREL, R_AAARCH64_TLS_DTPMOD and
R_AAARCH64_TLS_TPREL are kept in the current gas/binutils implementation
as aliasing names. This helps keep the code a bit neat. Note that we
have R_AAARCH64_P32_TLS_DTPREL, R_AAARCH64_P32_TLS_DTPMOD and
R_AAARCH64_P32_TLS_TPREL for the corresponding ILP32 ABI.
OK for the mainline and 2_24 branch?
Thanks,
Yufeng
bfd/
* elfnn-aarch64.c (elfNN_aarch64_howto_table): Use
R_AARCH64_TLS_DTPMOD64 instead of R_AARCH64_TLS_DTPMOD;
likewise for R_AARCH64_TLS_DTPREL and R_AARCH64_TLS_TPREL.
include/elf/
* include/elf/aarch64.h: Define R_AARCH64_TLS_DTPMOD64,
R_AARCH64_TLS_DTPREL64 and R_AARCH64_TLS_TPREL64; guard
R_AARCH64_TLS_DTPMOD, R_AARCH64_TLS_DTPREL and
R_AARCH64_TLS_TPREL with RELOC_MACROS_GEN_FUNC.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20131113/81d3c05f/attachment.ksh>
- Previous message (by thread): [PATCH] ld/ARM: Fix script-type testsuite failure.
- Next message (by thread): [PATCH, AArch64] Reinstate R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64 and R_AARCH64_TLS_TPREL64
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list