diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-02-26 16:05:30 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-02-26 16:05:30 +0000 |
commit | b0c6276b40a53c5ca96474c6f76fa566d81cf1c6 (patch) | |
tree | db1529688f3e3939bc0c10e4ce9e46c35f65aa42 /firmware/app.lds | |
parent | a0086b61e142ec2847d90b0ba6643a106d81f3f4 (diff) |
Moved to one single .lds file for ALL builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3347 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/app.lds')
-rw-r--r-- | firmware/app.lds | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/firmware/app.lds b/firmware/app.lds index c6149252cb..4a8ae724fa 100644 --- a/firmware/app.lds +++ b/firmware/app.lds @@ -2,11 +2,17 @@ ENTRY(start) OUTPUT_FORMAT(elf32-sh) INPUT(crt0.o) +#ifdef DEBUG +#define DRAMSIZE 0x1f0000 +#define ORIGADDR 0x09010000 +#else #define DRAMSIZE (MEMORYSIZE * 0x100000) +#define ORIGADDR 0x09000000 +#endif MEMORY { - DRAM : ORIGIN = 0x09000000, LENGTH = DRAMSIZE + DRAM : ORIGIN = ORIGADDR, LENGTH = DRAMSIZE IRAM : ORIGIN = 0x0f000000, LENGTH = 0x1000 } @@ -56,6 +62,15 @@ SECTIONS _end = .; } > DRAM +#ifdef DEBUG + .heap : + { + _poolstart = .; + . = 0x20000; + _poolend = .; + } > DRAM +#endif + .mp3buf : { _mp3buf = .; |