Update mkoverlay with new overlay strategy
This commit is contained in:
27
lib/psexe.ld
27
lib/psexe.ld
@@ -49,8 +49,6 @@ __fdata_len = (__planschi_end - __fdata_start);
|
||||
|
||||
__stack_start = ORIGIN(ram) + LENGTH(ram);
|
||||
|
||||
__heap_base = __planschi_end;
|
||||
|
||||
SECTIONS {
|
||||
/DISCARD/ : { *(.MIPS.abiflags) }
|
||||
|
||||
@@ -61,30 +59,7 @@ SECTIONS {
|
||||
/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) *(.gnu.*) *(.comment) }
|
||||
}
|
||||
|
||||
SECTIONS {
|
||||
__boot_loader_start = .;
|
||||
__planschi_start = .;
|
||||
OVERLAY __bss_end : NOCROSSREFS SUBALIGN(4)
|
||||
{
|
||||
.planschi
|
||||
{
|
||||
*libJabyEngine.a:*_boot.o(.text.startup._GLOBAL__*)
|
||||
*libJabyEngine.a:*_boot.o(.ctors)
|
||||
|
||||
*libJabyEngine.a:*_boot.o(.text.*)
|
||||
*libJabyEngine.a:*_boot.o(.rodata*)
|
||||
*libJabyEngine.a:*_boot.o(.sdata*)
|
||||
*libJabyEngine.a::*_boot.o(.data*)
|
||||
*libJabyEngine.a::*_boot.o(.sbss*)
|
||||
*libJabyEngine.a::*_boot.o(.bss*)
|
||||
*libJabyEngine.a::*_boot.o(*)
|
||||
}
|
||||
}
|
||||
__boot_loader_end = .;
|
||||
/*Only needed for the PSX BIOS to load the entire game*/
|
||||
. = ALIGN(2048);
|
||||
__planschi_end = .;
|
||||
}
|
||||
/*Overlay sections created by mkoverlay*/
|
||||
|
||||
SECTIONS {
|
||||
.PSX_EXE_Header : {
|
||||
|
||||
Reference in New Issue
Block a user