diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2012-12-10 21:08:02 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2013-01-02 20:44:11 +0100 |
commit | f853f92e4712a629ccaa5e79b97aa9340d8d9123 (patch) | |
tree | 34011fb6a1d7b596470f794ddf4f8f64b3403354 /src/target/firmware/board/compal/ram.lds | |
parent | adfc622cc1bbfeaa098b61862a953fef13b6e00c (diff) |
fw: Fix link scripts to represent reality more accurately
Previously they were hacks to allow build ...
Not needed now.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/target/firmware/board/compal/ram.lds')
-rw-r--r-- | src/target/firmware/board/compal/ram.lds | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/firmware/board/compal/ram.lds b/src/target/firmware/board/compal/ram.lds index 9503edee..4d3a1e40 100644 --- a/src/target/firmware/board/compal/ram.lds +++ b/src/target/firmware/board/compal/ram.lds @@ -3,7 +3,6 @@ * * This script is tailored specifically to the requirements imposed * on us by the Compal bootloader. - * */ OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") OUTPUT_ARCH(arm) @@ -11,9 +10,10 @@ ENTRY(_start) MEMORY { /* compal-loaded binary: our text, initialized data */ - LRAM (rw) : ORIGIN = 0x00800000, LENGTH = 0x00014000 + /* (only this zone can contain loaded data since loader is 64k limit) */ + LRAM (rw) : ORIGIN = 0x00800000, LENGTH = 0x00010000 /* compal-loaded binary: our unitialized data, stacks, heap */ - IRAM (rw) : ORIGIN = 0x00814000, LENGTH = 0x0000c000 + IRAM (rw) : ORIGIN = 0x00810000, LENGTH = 0x00030000 } SECTIONS { |