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

Feng Zou via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 03:51: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>:
----------------
fzou1 wrote:

There were no checks for both instructions and relocation types emitted by llvm-mc, so I added new test file for this R_X86_64_CODE_4_GOTTPOFF type and other relocation types to be added.

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


More information about the llvm-commits mailing list