[gold patch] PR 22969: Add support for R_AARCH64_TLSLE_LDST8_TPREL_LO12, etc.
Cary Coutant
ccoutant@gmail.com
Wed Mar 28 01:55:00 GMT 2018
> Can you please look over this patch and give it a test? Let me know if
> it's OK to check in.
>
> 2018-03-27 Cary Coutant <ccoutant@gmail.com>
>
> gold/
> PR gold/22969
> * aarch64-reloc.def: Add TLSLE_LDST* relocations.
> * aarch64.cc (Target_aarch64::optimize_tls_reloc): Likewise.
> (Target_aarch64::Scan::local): Likewise.
> (Target_aarch64::Scan::global): Likewise.
> (Target_aarch64::Relocate::relocate): Likewise.
> (Target_aarch64::Relocate::relocate_tls): Likewise.
Oops, one more piece to the patch:
elfcpp/
PR gold/22969
* aarch64.h: Fix spelling of R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC.
diff --git a/elfcpp/aarch64.h b/elfcpp/aarch64.h
index 935a4d70f4..eb1ce6ae79 100644
--- a/elfcpp/aarch64.h
+++ b/elfcpp/aarch64.h
@@ -146,7 +146,7 @@ enum
R_AARCH64_TLSLE_LDST8_TPREL_LO12 = 552, // TPREL(S+A)
R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC = 553, // TPREL(S+A)
R_AARCH64_TLSLE_LDST16_TPREL_LO12 = 554, // TPREL(S+A)
- R_AARCH64_TLSLE_LSDT16_TPREL_LO12_NC = 555, // TPREL(S+A)
+ R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC = 555, // TPREL(S+A)
R_AARCH64_TLSLE_LDST32_TPREL_LO12 = 556, // TPREL(S+A)
R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC = 557, // TPREL(S+A)
R_AARCH64_TLSLE_LDST64_TPREL_LO12 = 558, // TPREL(S+A)
-cary
More information about the Binutils
mailing list