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