Fix Linker bug copy ROM to RAM & exec from RAM (need more test).

This commit is contained in:
TitanMKD
2012-06-13 01:06:44 +02:00
parent 287e64a9c0
commit 43f7626de3

View File

@ -29,7 +29,8 @@ MEMORY
/* rom is really the shadow region that points to SPI flash or elsewhere */
rom (rx) : ORIGIN = 0x00000000, LENGTH = 1M
ram (rwx) : ORIGIN = 0x10000000, LENGTH = 128K
/* there are some additional RAM regions */
/* there are some additional RAM regions for data */
ram_data (rw) : ORIGIN = 0x10080000, LENGTH = 72K
}
/* Include the common ld script. */