Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-mips-elf / compressed-plt-1b.s
blob5a3f45471b0672e68c55647b4822b8768236340a
1 # Define a function with all "uncompressed" (du, bu and iu) references.
3 .abicalls
4 .option pic0
6 .include "compressed-plt-1.s"
8 .macro test_one, name, types
9 .if (\types) & DU
10 jal \name
11 nop
12 j \name
13 nop
14 .endif
15 .if (\types) & BU
16 bal \name
17 nop
18 b \name
19 nop
20 .endif
21 .if (\types) & IU
22 lw $2, %call16(\name)($3)
23 .endif
24 .endm
26 .section .text.b, "ax", @progbits
27 .globl testu
28 .ent testu
29 .set noreorder
30 testu:
31 test_all
32 jr $31
33 .end testu