summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-z8k/reloc.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-z8k/reloc.ld')
-rw-r--r--ld/testsuite/ld-z8k/reloc.ld22
1 files changed, 22 insertions, 0 deletions
diff --git a/ld/testsuite/ld-z8k/reloc.ld b/ld/testsuite/ld-z8k/reloc.ld
new file mode 100644
index 00000000000..69ffc150328
--- /dev/null
+++ b/ld/testsuite/ld-z8k/reloc.ld
@@ -0,0 +1,22 @@
+/* everything in one segment */
+
+SECTIONS
+{
+.text 0x00001000 :
+ {
+ *(.text)
+ *(.strings)
+ *(.rdata)
+ }
+
+.data 0x00002000 :
+ {
+ *(.data)
+ }
+
+.bss 0x00003000 :
+ {
+ *(.bss);
+ *(COMMON);
+ }
+}