Pinning GFHeader to front of modern

- Pinning the GF Header, crt0, and main to the front of the ROM when building modern.
- Moving the gflib before other source files, to make it closer to the non-modern linker script (and therefore smaller patches).
This commit is contained in:
tustin2121 2022-11-02 12:44:32 -04:00
parent b8371500d3
commit e698a6506f

View File

@ -17,7 +17,7 @@ SECTIONS {
gflib/*.o(ewram_data);
. = 0x40000;
}
}
. = 0x3000000;
@ -49,8 +49,11 @@ SECTIONS {
ALIGN(4)
{
src/rom_header.o(.text*);
src/*.o(.text*);
src/rom_header_gf.o(.text.*);
src/crt0.o(.text);
src/main.o(.text);
gflib/*.o(.text*);
src/*.o(.text*);
asm/*.o(.text*);
} =0