aboutsummaryrefslogtreecommitdiff
path: root/ld/h8300hms.sc-sh
diff options
context:
space:
mode:
Diffstat (limited to 'ld/h8300hms.sc-sh')
-rwxr-xr-xld/h8300hms.sc-sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/h8300hms.sc-sh b/ld/h8300hms.sc-sh
index 2c66850..ca19afb 100755
--- a/ld/h8300hms.sc-sh
+++ b/ld/h8300hms.sc-sh
@@ -6,8 +6,8 @@ MEMORY {
rom : o = 0x0000, l = 0x7fe0
duart : o = 0x7fe0, l = 16
ram : o = 0x8000, l = 28k
- topram: o = 0x8000+28k, l = 1k
- hmsram: o = 0xfb80, l = 512
+ topram : o = 0x8000+28k, l = 1k
+ hmsram : o = 0xfb80, l = 512
}
SECTIONS
@@ -32,6 +32,7 @@ SECTIONS
} ${RELOCATING+ >ram}
.stack :
{
+ _stack = .;
*(.stack)
} ${RELOCATING+ > topram}
}