Commit | Line | Data |
---|---|---|
690f47bf RS |
1 | # Define a function with all direct (%lo) references. |
2 | ||
3 | .abicalls | |
4 | .option pic0 | |
5 | ||
6 | .include "compressed-plt-1.s" | |
7 | ||
8 | .macro test_one, name, types | |
9 | .if (\types) & LO | |
10 | li $2,%lo(\name) | |
11 | .endif | |
12 | .endm | |
13 | ||
14 | .if micromips | |
15 | .set micromips | |
16 | .endif | |
17 | ||
18 | .section .text.c, "ax", @progbits | |
19 | .globl testlo | |
20 | .ent testlo | |
21 | .set noreorder | |
22 | testlo: | |
23 | test_all | |
24 | .end testlo |