add a memory section for RAM so that the linker will warn when you've

made your program too big.
This commit is contained in:
Mariano Alvira 2010-10-01 15:22:07 -04:00
parent b2c64dc233
commit 0bdcac3457

View file

@ -3,6 +3,12 @@ OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
"elf32-littlearm") "elf32-littlearm")
OUTPUT_ARCH(arm) OUTPUT_ARCH(arm)
ENTRY(_start) ENTRY(_start)
MEMORY
{
ram (rwx) : org = 0x00400000, l = 96K
}
SECTIONS SECTIONS
{ {