[llvm] [lld] [llvm][lld] Support R_RISCV_GOT32_PCREL (PR #72587)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 22 11:05:39 PST 2023


================
@@ -0,0 +1,35 @@
+// REQUIRES: riscv
+// RUN: llvm-mc -filetype=obj -triple=riscv64 %s -o %t.o
+// RUN: ld.lld %t.o -o %t.so -shared
+// RUN: llvm-readobj -S %t.so | FileCheck --check-prefix=SEC %s
+// RUN: llvm-objdump --no-print-imm-hex -s -d %t.so | FileCheck %s
----------------
MaskRay wrote:

See my comment in #72584. Test overflows

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


More information about the llvm-commits mailing list