aboutsummaryrefslogtreecommitdiff
path: root/ld/h8300hms.sc
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-02-06 19:44:44 +0000
committerSteve Chamberlain <sac@cygnus>1992-02-06 19:44:44 +0000
commitab6c26bae16d9b02b20fb5e98dbae1d63f22e8e6 (patch)
tree3e16ef76a9bd62ad9c518e055ccdc1d5fe1704b6 /ld/h8300hms.sc
parent67c7ea668f4793b3a1fb6c44cae8f7187dac1a07 (diff)
downloadgdb-ab6c26bae16d9b02b20fb5e98dbae1d63f22e8e6.zip
gdb-ab6c26bae16d9b02b20fb5e98dbae1d63f22e8e6.tar.gz
gdb-ab6c26bae16d9b02b20fb5e98dbae1d63f22e8e6.tar.bz2
From h8300hds*
Diffstat (limited to 'ld/h8300hms.sc')
-rwxr-xr-xld/h8300hms.sc30
1 files changed, 30 insertions, 0 deletions
diff --git a/ld/h8300hms.sc b/ld/h8300hms.sc
new file mode 100755
index 0000000..62ba07e
--- /dev/null
+++ b/ld/h8300hms.sc
@@ -0,0 +1,30 @@
+OUTPUT_FORMAT("coff-h8300")
+OUTPUT_ARCH(h8300)
+
+MEMORY {
+ rom : o = 0x0000, l = 0x7fe0
+ duart : o = 0x7fe0, l = 16
+ ram : o = 0x8000, l = 29k
+ hmsram: o = 0xfb80, l = 512
+ }
+
+SECTIONS
+{
+.text :
+ {
+ *(.text)
+ *(.strings)
+ } > ram
+.data :
+ {
+ *(.data)
+ } > ram
+.bss :
+ {
+ _bss_start = . ;
+ *(.bss)
+ *(COMMON)
+ _end = .;
+ } >ram
+}
+