summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/got-page-4a.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/got-page-4a.s')
-rw-r--r--ld/testsuite/ld-mips-elf/got-page-4a.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/got-page-4a.s b/ld/testsuite/ld-mips-elf/got-page-4a.s
new file mode 100644
index 0000000..4c8163e
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/got-page-4a.s
@@ -0,0 +1,14 @@
+ .section .rodata.cst4,"aM",@progbits,4
+ .set x,0x01000000
+ .set y,0x02000000
+ # Add the 16 values that the next input file wants, but in such
+ # a way that each one lives on a separate page.
+ .rept 15
+ .word y
+ .set y,y+1
+ .rept 0x4000
+ .word x
+ .set x,x+1
+ .endr
+ .endr
+ .word y