aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/ifunc-15.s
blob: f94b4a667c4a70c2c0e47693eecd9e157954e28a (plain)
1
2
3
4
5
6
7
8
9
10
11
	.text
        .type foo, @function
	.global foo
foo:
	adrp    x0, :got:ifunc
        ldr     x0, [x0, #:got_lo12:ifunc]
        ret
        .type ifunc, @gnu_indirect_function
	.globl ifunc
ifunc:
        ret