[PATCH] D91426: [PowerPC] Fix issue where binary uses a .got but is missing a .TOC.
Victor Huang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 18 13:14:04 PST 2020
NeHuang added inline comments.
================
Comment at: lld/test/ELF/ppc64-ld-got-dtprel.s:28
+## lo(i at got@dtprel) = &.got[1] - (.got+0x8000) & 0xffff = -32760
+## hi(j at got@dtprel) = (&.got[2] - (.got+0x8000) >> 16) & 0xffff = -1
+## j at got@dtprel = &.got[2] - (.got+0x8000) = -32752
----------------
is the computation proper here? To me, &.got[2] is different from &.got[1]
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91426/new/
https://reviews.llvm.org/D91426
More information about the llvm-commits
mailing list