Commit | Line | Data |
---|---|---|
690f47bf RS |
1 | # Define a function with all "uncompressed" (du and iu) references. |
2 | ||
3 | .abicalls | |
4 | .option pic0 | |
5 | ||
6 | .include "compressed-plt-1.s" | |
7 | ||
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) & IU | |
16 | lw $2, %call16(\name)($3) | |
17 | .endif | |
18 | .endm | |
19 | ||
20 | .section .text.b, "ax", @progbits | |
21 | .globl testu | |
22 | .ent testu | |
23 | .set noreorder | |
24 | testu: | |
25 | test_all | |
26 | jr $31 | |
27 | .end testu |