summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/eh-frame1.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mips-elf/eh-frame1.ld')
-rw-r--r--ld/testsuite/ld-mips-elf/eh-frame1.ld19
1 files changed, 19 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/eh-frame1.ld b/ld/testsuite/ld-mips-elf/eh-frame1.ld
new file mode 100644
index 0000000..30fb948
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/eh-frame1.ld
@@ -0,0 +1,19 @@
+SECTIONS
+{
+ . = 0x10000;
+ .dynamic : { *(.dynamic) }
+ .hash : { *(.hash) }
+ .dynsym : { *(.dynsym) }
+ .dynstr : { *(.dynstr) }
+ .rel.dyn : { *(.rel.dyn) }
+
+ . = 0x20000;
+ .text : { *(.text) }
+
+ . = 0x30000;
+ .eh_frame : { *(.eh_frame) }
+ .got : { *(.got) }
+ .gcc_compiled_long32 : { KEEP (*(.gcc_compiled_long32)) }
+
+ /DISCARD/ : { *(*) }
+}