mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-04-26 00:06:11 -05:00
added .ewram section for EWRAM_DATA
This commit is contained in:
parent
6e399663f5
commit
a108698a03
|
|
@ -102,6 +102,14 @@ SECTIONS
|
||||||
.jcr : { KEEP (*(.jcr)) } >ewram = 0
|
.jcr : { KEEP (*(.jcr)) } >ewram = 0
|
||||||
.got : { *(.got.plt) *(.got) } >ewram = 0
|
.got : { *(.got.plt) *(.got) } >ewram = 0
|
||||||
|
|
||||||
|
.ewram ALIGN(4) :
|
||||||
|
{
|
||||||
|
__ewram_start = ABSOLUTE(.) ;
|
||||||
|
*(.ewram)
|
||||||
|
*ewram.*(.text)
|
||||||
|
. = ALIGN(4); /* REQUIRED. LD is flaky without it. */
|
||||||
|
} >ewram = 0xff
|
||||||
|
|
||||||
.sbss ALIGN(4):
|
.sbss ALIGN(4):
|
||||||
{
|
{
|
||||||
__sbss_start = ABSOLUTE(.);
|
__sbss_start = ABSOLUTE(.);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user