aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/reloc-merge-lo16.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/reloc-merge-lo16.ld')
-rw-r--r--ld/testsuite/ld-mips-elf/reloc-merge-lo16.ld9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/reloc-merge-lo16.ld b/ld/testsuite/ld-mips-elf/reloc-merge-lo16.ld
new file mode 100644
index 0000000..4d487dd
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/reloc-merge-lo16.ld
@@ -0,0 +1,9 @@
+ENTRY(__start)
+SECTIONS
+{
+ . = 0x0400000;
+ .text : { *(.text) }
+ . = 0x0800000;
+ .rodata : { *(.rodata.*) }
+ /DISCARD/ : { *(*) }
+}