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 07701ce commit 7e2cfb4Copy full SHA for 7e2cfb4
lld/test/ELF/aarch64-got-merging-icf.s
@@ -33,17 +33,20 @@ sym3:
33
34
.macro f, index
35
36
+# (Kept unique) first instruction of the GOT code sequence
37
.section .text.f1_\index,"ax",@progbits
38
f1_\index:
39
adrp x0, :got:g\index
40
mov x1, #\index
41
b f2_\index
42
43
+# Folded, second instruction of the GOT code sequence
44
.section .text.f2_\index,"ax",@progbits
45
f2_\index:
46
ldr x0, [x0, :got_lo12:g\index]
47
b callee
48
49
+# Folded
50
.globl g\index
51
.section .rodata.g\index,"a",@progbits
52
g_\index:
0 commit comments