import from github
This commit is contained in:
31
berry_fix/ld_script.txt
Normal file
31
berry_fix/ld_script.txt
Normal file
@ -0,0 +1,31 @@
|
||||
ENTRY(_start)
|
||||
|
||||
SECTIONS {
|
||||
. = 0x2000000;
|
||||
|
||||
.text :
|
||||
ALIGN(4)
|
||||
{
|
||||
asm/loader.o(.text);
|
||||
} =0
|
||||
|
||||
. += 0x100;
|
||||
.rodata :
|
||||
ALIGN(4)
|
||||
{
|
||||
data/data.o(.rodata);
|
||||
} =0
|
||||
|
||||
. = 0x2010000;
|
||||
|
||||
ewram (NOLOAD) :
|
||||
ALIGN(4)
|
||||
{
|
||||
gCode = .;
|
||||
}
|
||||
|
||||
/DISCARD/ :
|
||||
{
|
||||
*(*);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user