aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/stub-dynsym-2.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/stub-dynsym-2.ld')
-rw-r--r--ld/testsuite/ld-mips-elf/stub-dynsym-2.ld21
1 files changed, 21 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/stub-dynsym-2.ld b/ld/testsuite/ld-mips-elf/stub-dynsym-2.ld
new file mode 100644
index 0000000..a385012
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/stub-dynsym-2.ld
@@ -0,0 +1,21 @@
+SECTIONS
+{
+ . = 0x80000;
+ .interp : { *(.interp) }
+ .hash : { *(.hash) }
+ .dynsym : { *(.dynsym) }
+ .dynstr : { *(.dynstr) }
+ .rel.dyn : { *(.rel.dyn) }
+ .MIPS.stubs : { *(.MIPS.stubs) }
+ .text : { *(.text) }
+
+ . = ALIGN (0x10000);
+ HIDDEN (_gp = . + 0x7ff0);
+ .got : { *(.got) }
+
+ .symtab : { *(.symtab) }
+ .strtab : { *(.strtab) }
+ .shstrtab : { *(.shstrtab) }
+
+ /DISCARD/ : { *(.reginfo) *(.MIPS.abiflags) *(.gnu.attributes) }
+}