mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
[AArch64] Sort TLS reloc types alphabetically
This commit is contained in:
parent
6a49a997b4
commit
4c0a9a6fa1
@ -1,3 +1,8 @@
|
||||
2015-07-17 Jiong Wang <jiong.wang@arm.com>
|
||||
|
||||
* elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Sort alphabetically.
|
||||
(IS_AARCH64_TLSDESC_RELOC): Sort alphabetically.
|
||||
|
||||
2015-07-16 Jiong Wang <jiong.wang@arm.com>
|
||||
|
||||
* elfnn-aarch64.c (IS_AARCH64_TLS_RELOC): Recognize
|
||||
|
@ -165,42 +165,42 @@
|
||||
#endif
|
||||
|
||||
#define IS_AARCH64_TLS_RELOC(R_TYPE) \
|
||||
((R_TYPE) == BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21 \
|
||||
((R_TYPE) == BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSGD_ADR_PREL21 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G1 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G1 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSLD_ADR_PREL21 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_HI12 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G2 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G2 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLS_DTPMOD \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLS_DTPREL \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLS_TPREL \
|
||||
|| IS_AARCH64_TLSDESC_RELOC ((R_TYPE)))
|
||||
|
||||
#define IS_AARCH64_TLSDESC_RELOC(R_TYPE) \
|
||||
((R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_LD_PREL19 \
|
||||
((R_TYPE) == BFD_RELOC_AARCH64_TLSDESC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_ADD \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_OFF_G1 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_LDR \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_ADD \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_CALL \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC)
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_LDR \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_LD_PREL19 \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC \
|
||||
|| (R_TYPE) == BFD_RELOC_AARCH64_TLSDESC_OFF_G1)
|
||||
|
||||
#define ELIMINATE_COPY_RELOCS 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user