aboutsummaryrefslogtreecommitdiff
path: root/ld/h8300xray.sc-sh
diff options
context:
space:
mode:
Diffstat (limited to 'ld/h8300xray.sc-sh')
-rwxr-xr-xld/h8300xray.sc-sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/ld/h8300xray.sc-sh b/ld/h8300xray.sc-sh
new file mode 100755
index 0000000..b0a4622
--- /dev/null
+++ b/ld/h8300xray.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 = .;
+_stack = 0xe000;
+}
+
+}
+EOF
+
+
+
+