summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/got-page-3b.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/got-page-3b.s')
-rw-r--r--ld/testsuite/ld-mips-elf/got-page-3b.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/got-page-3b.s b/ld/testsuite/ld-mips-elf/got-page-3b.s
new file mode 100644
index 0000000000..6b399db66a
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/got-page-3b.s
@@ -0,0 +1,11 @@
+ .macro makeref,sym
+ lw $5,%got(\sym\@)($gp)
+ .endm
+
+ .globl f2
+ .ent f2
+f2:
+ .rept 8000
+ makeref bar
+ .endr
+ .end f2