Commit | Line | Data |
---|---|---|
13db6b44 RS |
1 | .globl foo |
2 | .ent foo | |
3 | foo: | |
4 | # Create page references to 16 values. The layout of the values | |
5 | # in this input file requires at most 2 page entries. | |
6 | .set y,0x02000000 | |
7 | .rept 16 | |
8 | lw $4,%got_page(1f)($gp) | |
9 | addiu $4,$4,%got_ofst(1f) | |
10 | .section .rodata.cst4,"aM",@progbits,4 | |
11 | 1: .word y | |
12 | .set y,y+1 | |
13 | .text | |
14 | .endr | |
15 | .end foo | |
16 | ||
17 | # Make sure the loadable size of the library is large. | |
18 | .section .bss | |
19 | .globl g | |
20 | g: | |
21 | .space 0x800000 |