Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-mips-elf / got-page-6.s
blobc419e00a7b2f0cf881cf81a2aa5a8eecc0ce0744
1 # Create a mergeable section full of a single value.
2 # Create page references relative to instances of the value
3 # that are large distances apart.
5 # The mergeable entries collapse to one, so even with the
6 # large distances in the original file, we should end
7 # up with a single page entry.
8 .globl foo
9 .ent foo
10 foo:
11 .rept 4
12 lw $4,%got_page(1f)($gp)
13 addiu $4,$4,%got_ofst(1f)
14 .section .rodata.cst4,"aM",@progbits,4
16 .rept 0x8000
17 .word 123456
18 .endr
19 .text
20 .endr
21 .end foo
23 # Make sure the loadable size of the library is large.
24 .section .bss
25 .globl g
27 .space 0x800000