summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/reloc-2.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/reloc-2.ld')
-rw-r--r--ld/testsuite/ld-mips-elf/reloc-2.ld9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/reloc-2.ld b/ld/testsuite/ld-mips-elf/reloc-2.ld
new file mode 100644
index 0000000..35edf28
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/reloc-2.ld
@@ -0,0 +1,9 @@
+SECTIONS
+{
+ . = 0x208000;
+ .text : { *(.text) }
+ . = 0x400000;
+ HIDDEN (_gp = 0x401234);
+ .sdata : { *(.sdata) }
+ /DISCARD/ : { *(*) }
+}