IFUNC: Update IFUNC resolver check with DT_TEXTREL
[deliverable/binutils-gdb.git] / ld / testsuite / ld-mips-elf / pr21375.s
CommitLineData
982d0151
MR
1 .abicalls
2 .set noreorder
3
4 .type fun, @function
5 .weak fun
6 .type obj, @object
7 .weak obj
8 .ifdef prot
9 .protected fun
10 .protected obj
11 .endif
12 .ifdef hidn
13 .hidden fun
14 .hidden obj
15 .endif
16 .ifdef intr
17 .internal fun
18 .internal obj
19 .endif
20
21 .section .text.foo, "ax", @progbits
22 .globl foo
23 .ent foo
24foo:
25 .frame $sp, 0, $31
26 .mask 0x00000000, 0
27 .fmask 0x00000000, 0
28 .cpload $25
29 lw $25, %call16(fun)($28)
30 lw $4, %got(obj)($28)
31 jr $25
32 addiu $4, 4
33 .end foo
34
35# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
36 .align 4, 0
37 .space 16
38
39 .section .text.bar, "ax", @progbits
40 .ent bar
41bar:
42 .frame $sp, 0, $31
43 .mask 0x00000000, 0
44 .fmask 0x00000000, 0
45 .cpload $25
46 lwl $25, %call16(fun)($28)
47 lwr $4, %got(obj)($28)
48 jr $25
49 addiu $4, 4
50 .end bar
51
52# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
53 .align 4, 0
54 .space 16
This page took 0.10575 seconds and 4 git commands to generate.