summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.ld
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.ld')
-rw-r--r--binutils-2.25/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.ld35
1 files changed, 35 insertions, 0 deletions
diff --git a/binutils-2.25/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.ld b/binutils-2.25/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.ld
new file mode 100644
index 00000000..693bbdd1
--- /dev/null
+++ b/binutils-2.25/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.ld
@@ -0,0 +1,35 @@
+SECTIONS
+{
+ . = 0x40000 + SIZEOF_HEADERS;
+ .interp : { *(.interp) }
+
+ . = 0x41000;
+ .reginfo : { *(.reginfo) }
+ .hash : { *(.hash) }
+ .dynsym : { *(.dynsym) }
+ .dynstr : { *(.dynstr) }
+
+ . = 0x42000;
+ .dynamic : { *(.dynamic) }
+
+ . = 0x43000;
+ .rel.plt : { *(.rel.plt) }
+ .plt : { *(.plt) }
+
+ . = 0x44000;
+ .text : { *(.text) }
+ .MIPS.stubs : { *(.MIPS.stubs) }
+
+ . = 0x80000;
+ .rld_map : { *(.rld_map) }
+
+ . = 0x81000;
+ .got.plt : { *(.got.plt) }
+
+ . = 0xa0000;
+ HIDDEN (_gp = . + 0x7ff0);
+ .got : { *(.got) }
+
+ . = 0xa1000;
+ .data : { *(.data) }
+}