[PATCH] D87318: [LLD][PowerPC] Add support for R_PPC64_GOT_TLSGD_PCREL34 used in TLS General Dynamic
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 11 23:05:04 PDT 2020
MaskRay added inline comments.
================
Comment at: lld/ELF/Relocations.cpp:1350
+
+ if (type == R_PPC64_TLSGD && expr == R_TLSDESC_CALL) {
+ if (i == end) {
----------------
I am not sure we want to add error checking for every relocation usage. We should add them considering the possibility of such errors (can a compiler/tool/assembly generate such erroneous relocation usage?)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87318/new/
https://reviews.llvm.org/D87318
More information about the llvm-commits
mailing list