aboutsummaryrefslogtreecommitdiff
path: root/ld/z8ksim.sc-sh
diff options
context:
space:
mode:
Diffstat (limited to 'ld/z8ksim.sc-sh')
-rwxr-xr-xld/z8ksim.sc-sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/ld/z8ksim.sc-sh b/ld/z8ksim.sc-sh
new file mode 100755
index 0000000..7ee132a
--- /dev/null
+++ b/ld/z8ksim.sc-sh
@@ -0,0 +1,26 @@
+cat <<EOF
+OUTPUT_FORMAT("${OUTPUT_FORMAT}")
+OUTPUT_ARCH(${ARCH})
+
+
+SECTIONS
+{
+.text :
+ {
+ *(.text)
+ *(.strings)
+ _etext = .;
+ *(.data)
+ _edata = .;
+ *(.bss)
+ *(COMMON)
+ _end = .;
+
+}
+
+}
+EOF
+
+
+
+