3 .type foo_resolver, @function
6 .size foo_resolver, .-foo_resolver
9 .type foo, %gnu_indirect_function
10 .set foo, foo_resolver
16 auipc x1, %got_pcrel_hi (foo)
18 ld x1, %pcrel_lo (.L1) (x1)
20 lw x1, %pcrel_lo (.L1) (x1)
24 auipc x2, %pcrel_hi (foo)
25 addi x2, x2, %pcrel_lo (.L2)