aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/got-page-7b.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/got-page-7b.s')
-rw-r--r--ld/testsuite/ld-mips-elf/got-page-7b.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/got-page-7b.s b/ld/testsuite/ld-mips-elf/got-page-7b.s
new file mode 100644
index 0000000..4c9a0df
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/got-page-7b.s
@@ -0,0 +1,6 @@
+ .globl f2
+ .ent f2
+f2:
+ lw $4,%got_page(g + 0x4000)($gp)
+ addiu $4,$4,%got_ofst(g + 0x4000)
+ .end f2