[PATCH] D86893: [PowerPC] Add support for R_PPC64_GOT_TPREL_PCREL34 used in TLS Initial Exec
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 21 09:54:29 PDT 2020
MaskRay added inline comments.
================
Comment at: lld/test/ELF/ppc64-tls-pcrel-ie.s:9
+
+# RUN: split-file %s %t
+
----------------
Since you are using `split-file`, you can make the linker script a fragment, e.g. `linkerscript/noload.s`
================
Comment at: lld/test/ELF/ppc64-tls-pcrel-ie.s:16
+# RUN: ld.lld -T %t.script %t.o %t-defs.o -o %t-le
+
+# RUN: llvm-readelf -r %t-ie | FileCheck %s --check-prefix=IE-RELOC
----------------
.got content should be tested as well. See riscv-tls-ie.s
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86893/new/
https://reviews.llvm.org/D86893
More information about the llvm-commits
mailing list