diff --git a/src/base/linkfile.prx.in b/src/base/linkfile.prx.in index 18c5946e10..3023d21de7 100644 --- a/src/base/linkfile.prx.in +++ b/src/base/linkfile.prx.in @@ -83,7 +83,7 @@ SECTIONS KEEP (*(.fini)) } =0 /* PSP library stub functions. */ - .sceStub.text : { *(.sceStub.text) *(SORT(.sceStub.text.*)) } + .sceStub.text : { KEEP(*(.sceStub.text)) KEEP(*(SORT(.sceStub.text.*))) } PROVIDE (__etext = .); PROVIDE (_etext = .); PROVIDE (etext = .); @@ -98,7 +98,7 @@ SECTIONS .rodata.sceModuleInfo section must appear before the .rodata section otherwise it would get absorbed into .rodata and the PSP bootloader would be unable to locate the module info structure. */ - .rodata.sceModuleInfo : { *(.rodata.sceModuleInfo) } + .rodata.sceModuleInfo : { KEEP (*(.rodata.sceModuleInfo)) } .rodata.sceResident : { *(.rodata.sceResident) } .rodata.sceNid : { KEEP (*(.rodata.sceNid)) } .rodata.sceVstub : { *(.rodata.sceVstub) *(SORT(.rodata.sceVstub.*)) }