[lld] [llvm] [llvm][lld] Support R_<CLS>_GOTREL32 (PR #72584)

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


================
@@ -0,0 +1,35 @@
+// REQUIRES: aarch64
+// RUN: llvm-mc -filetype=obj -triple=aarch64 %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
+
+
+// SEC:         Name: .got (58)
----------------
MaskRay wrote:

Use `llvm-readelf -S` to get section addresses in new tests. The tabular output is easier to read.

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


More information about the llvm-commits mailing list