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