[llvm] [X86][MC] Add R_X86_64_CODE_4_GOTTPOFF (PR #116633)

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 01:30:18 PST 2024


================
@@ -0,0 +1,37 @@
+// RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t
+// RUN: llvm-objdump -dr --no-print-imm-hex %t | FileCheck %s
+
+// CHECK:      <_start>:
----------------
KanRobert wrote:

Why not use the existing test file llvm/test/MC/ELF/relocation.s?

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


More information about the llvm-commits mailing list