diff options
Diffstat (limited to 'ld/h8300hms.sc-sh')
-rwxr-xr-x | ld/h8300hms.sc-sh | 5 |
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} } |