This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold patch] PR 22969: Add support for R_AARCH64_TLSLE_LDST8_TPREL_LO12, etc.
- From: Cary Coutant <ccoutant at gmail dot com>
- To: Binutils <binutils at sourceware dot org>, Peter Smith <peter dot smith at linaro dot org>, Han Shen <shenhan at google dot com>
- Date: Tue, 27 Mar 2018 18:54:55 -0700
- Subject: Re: [gold patch] PR 22969: Add support for R_AARCH64_TLSLE_LDST8_TPREL_LO12, etc.
- References: <CAJimCsF6v6d9S4E93H4GHans00kcJpJU04phS_yQcfP+tBvEtA@mail.gmail.com>
> 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