Ticket #5508: fn1.2.S
File fn1.2.S, 346 bytes (added by , 11 years ago) |
---|
Line | |
---|---|
1 | .text |
2 | .globl fn1 |
3 | .align 2 |
4 | .type fn1,@function |
5 | .ent fn1 |
6 | fn1: |
7 | #ifdef __PIC__ |
8 | .set noreorder |
9 | .cpload $t9 |
10 | .set reorder |
11 | #endif |
12 | |
13 | li $a0, 2 # return with exit code 2 |
14 | #ifdef __PIC__ |
15 | lw $t9, %call16(exit)($gp) # exit application |
16 | jalr $t9 |
17 | #else |
18 | j exit # exit application |
19 | #endif |
20 | |
21 | .end fn1 |
22 | .size fn1, .-fn1 |