aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/emrelocs.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/emrelocs.ld')
-rw-r--r--ld/testsuite/ld-mips-elf/emrelocs.ld16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/emrelocs.ld b/ld/testsuite/ld-mips-elf/emrelocs.ld
new file mode 100644
index 0000000..557f139
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/emrelocs.ld
@@ -0,0 +1,16 @@
+ENTRY(ext_fun)
+SECTIONS
+{
+ .text 0x00100000:
+ {
+ *(.text)
+ }
+ .data 0x00200000:
+ {
+ *(.sdata)
+ }
+ .rel.sdata 0x00300000:
+ {
+ *(.rel.sdata)
+ }
+}