summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-tic6x/discard-unwind.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-tic6x/discard-unwind.ld')
-rw-r--r--ld/testsuite/ld-tic6x/discard-unwind.ld15
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-tic6x/discard-unwind.ld b/ld/testsuite/ld-tic6x/discard-unwind.ld
new file mode 100644
index 0000000..00582c1
--- /dev/null
+++ b/ld/testsuite/ld-tic6x/discard-unwind.ld
@@ -0,0 +1,15 @@
+/* Script for unwinding ld tests */
+SECTIONS
+{
+ /* Read-only sections, merged into text segment: */
+ . = 0x8000;
+ .text :
+ {
+ *(.before)
+ *(.text)
+ *(.after)
+ *(.c6xabi.extab*)
+ } =0
+ /DISCARD/ : { *(.c6xabi.exidx*) }
+ .c6xabi.attribues 0 : { *(.c6xabi.atttributes) }
+}