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