mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-08-28 13:34:23 -05:00
default arm7 core to 0x037f8000 for extra space
This commit is contained in:
@@ -5,12 +5,9 @@ ENTRY(_start)
|
|||||||
MEMORY {
|
MEMORY {
|
||||||
|
|
||||||
rom : ORIGIN = 0x08000000, LENGTH = 32M
|
rom : ORIGIN = 0x08000000, LENGTH = 32M
|
||||||
iwram : ORIGIN = 0x03800000, LENGTH = 64K
|
iwram : ORIGIN = 0x037f8000, LENGTH = 96K
|
||||||
ewram : ORIGIN = 0x02040000, LENGTH = 4M
|
|
||||||
}
|
}
|
||||||
|
|
||||||
__ewram_start = ORIGIN(ewram);
|
|
||||||
__eheap_end = ORIGIN(ewram)+ LENGTH(ewram);
|
|
||||||
__iwram_start = ORIGIN(iwram);
|
__iwram_start = ORIGIN(iwram);
|
||||||
__iwram_top = ORIGIN(iwram)+ LENGTH(iwram);
|
__iwram_top = ORIGIN(iwram)+ LENGTH(iwram);
|
||||||
__sp_irq = __iwram_top - 0x60;
|
__sp_irq = __iwram_top - 0x60;
|
||||||
@@ -117,7 +114,7 @@ SECTIONS
|
|||||||
. = ALIGN(4); /* REQUIRED. LD is flaky without it. */
|
. = ALIGN(4); /* REQUIRED. LD is flaky without it. */
|
||||||
} >iwram = 0xff
|
} >iwram = 0xff
|
||||||
.jcr : { KEEP (*(.jcr)) } >iwram = 0
|
.jcr : { KEEP (*(.jcr)) } >iwram = 0
|
||||||
.got : { *(.got.plt) *(.got) *(.rel.got) } >iwram = 0
|
.got : { *(.got.plt) *(.got) } >iwram = 0
|
||||||
|
|
||||||
|
|
||||||
.iwram ALIGN(4) :
|
.iwram ALIGN(4) :
|
||||||
|
|||||||
Reference in New Issue
Block a user