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