[lld] [X86][LLD] Handle R_X86_64_CODE_6_GOTTPOFF relocation type (PR #117675)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 23:14:01 PST 2024


================
@@ -0,0 +1,36 @@
+# REQUIRES: x86
+# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
+# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
----------------
MaskRay wrote:

`-DFILE=%t.o` (see systemz-reloc-pcdbl.s as an example) and expand `{{.*}}` to `[[FILE]]` below

https://github.com/llvm/llvm-project/pull/117675


More information about the llvm-commits mailing list