aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-csky/emit-relocs-1.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-csky/emit-relocs-1.ld')
-rw-r--r--ld/testsuite/ld-csky/emit-relocs-1.ld20
1 files changed, 20 insertions, 0 deletions
diff --git a/ld/testsuite/ld-csky/emit-relocs-1.ld b/ld/testsuite/ld-csky/emit-relocs-1.ld
new file mode 100644
index 0000000..574030b
--- /dev/null
+++ b/ld/testsuite/ld-csky/emit-relocs-1.ld
@@ -0,0 +1,20 @@
+ENTRY(__start)
+SECTIONS
+{
+ . = 0x80000;
+ .text : { *(.text) }
+
+ . = ALIGN (0x400);
+ .merge1 : { *(.merge1) }
+
+ . = ALIGN (0x400);
+ .merge2 : { *(.merge2) }
+
+ . = ALIGN (0x400);
+ .merge3 : { *(.merge3) }
+
+ . = ALIGN (0x400);
+ .data : { *(.data) }
+
+ /DISCARD/ : { *(*) }
+}