1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-30 15:52:15 +00:00
Atmosphere/fusee_cpp/program/program_ovl.ld

26 lines
750 B
Text
Raw Normal View History

2021-08-21 23:49:36 +01:00
MEMORY
{
NULL : ORIGIN = 0, LENGTH = 4K
glob : ORIGIN = 0x40001000, LENGTH = 0x3F000
main : ORIGIN = 0x40001000, LENGTH = 0x2B000
ovl : ORIGIN = 0x4002C000, LENGTH = 0x14000
}
SECTIONS {
OVERLAY : NOCROSSREFS {
.ovl_sein {
fusee_secure_initialize.o(.text*);
fusee_sdram.o(.text*);
2021-08-21 23:49:36 +01:00
fusee_secure_initialize.o(.rodata*);
fusee_sdram.o(.rodata*);
2021-08-21 23:49:36 +01:00
fusee_secure_initialize.o(.data*);
fusee_sdram.o(.data*);
2021-08-21 23:49:36 +01:00
fusee_secure_initialize.o(.bss*);
fusee_sdram.o(.bss*);
2021-08-21 23:49:36 +01:00
FILL(0x00000000)
. = ORIGIN(ovl) + LENGTH(ovl) - 1;
BYTE(0x00);
}
} >ovl AT>glob
}
INSERT AFTER .main.fill