[lld] [PAC][lld][AArch64][ELF] Support signed GOT (PR #113815)

Daniil Kovalev via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 15 23:43:46 PST 2024


================
@@ -0,0 +1,90 @@
+# REQUIRES: aarch64
+
+# RUN: rm -rf %t && split-file %s %t && cd %t
+
+# RUN: llvm-mc -filetype=obj -triple=aarch64 %p/Inputs/shared.s -o a.o
+# RUN: ld.lld -shared a.o -o a.so
+
+#--- ok.s
+# RUN: llvm-mc -filetype=obj -triple=aarch64 ok.s -o ok.o
+
+# RUN: ld.lld ok.o a.so -pie -o ok1
+# RUN: llvm-readelf -r -S -x .got ok1 | FileCheck %s --check-prefix=EXTERNAL
----------------
kovdan01 wrote:

Thanks for pointing this out - I've changed the output file names but forgot to change the check prefixes previously.

Fixed in 03f9115ae4f3ea45edce60d2aec020bf76d4c2ff and also applied to #113816, thanks!

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


More information about the llvm-commits mailing list