aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/reloc-local-overflow.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/reloc-local-overflow.s')
-rw-r--r--ld/testsuite/ld-mips-elf/reloc-local-overflow.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/reloc-local-overflow.s b/ld/testsuite/ld-mips-elf/reloc-local-overflow.s
new file mode 100644
index 0000000..a07255c
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/reloc-local-overflow.s
@@ -0,0 +1,8 @@
+ .data
+ .space 0x1000
+
+ .align 2
+ .type bar, @object
+bar:
+ .half bar
+ .size bar, . - bar