We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ade32a0 commit 63a6d17Copy full SHA for 63a6d17
lld/test/ELF/pack-dyn-relocs-ifunc-static.s
lld/test/ELF/pack-dyn-relocs-ifunc.s
@@ -47,3 +47,28 @@ _start:
47
.globl bar
48
bar:
49
ret
50
+
51
+#--- c.s
52
53
+# RUN: llvm-mc -filetype=obj -triple=aarch64-linux-android c.s -o c.o
54
+# RUN: ld.lld --pack-dyn-relocs=android c.o -o c
55
+# RUN: llvm-readelf -sS c | FileCheck --check-prefix=STATIC %s
56
57
+# STATIC: .rela.plt RELA 0000000000200158 000158 000018 18 AI 0 5 8
58
+# STATIC: 0000000000200158 0 NOTYPE LOCAL HIDDEN 1 __rela_iplt_start
59
+# STATIC: 0000000000200170 0 NOTYPE LOCAL HIDDEN 1 __rela_iplt_end
60
61
+.text
62
+.type foo, %gnu_indirect_function
63
+.globl foo
64
+foo:
65
+ ret
66
67
+.globl _start
68
+_start:
69
+ bl foo
70
71
+.data
72
+.balign 8
73
+.quad __rela_iplt_start
74
+.quad __rela_iplt_end
0 commit comments