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:
1 parent
b8371500d3
commit
e698a6506f
1 file changed
+5
-2
@@ -17,7 +17,7 @@ SECTIONS {
|
|||||||
gflib/*.o(ewram_data);
|
gflib/*.o(ewram_data);
|
||||||
|
|
||||||
. = 0x40000;
|
. = 0x40000;
|
||||||
}
|
}
|
||||||
|
|
||||||
. = 0x3000000;
|
. = 0x3000000;
|
||||||
|
|
||||||
@@ -49,8 +49,11 @@ SECTIONS {
|
|||||||
ALIGN(4)
|
ALIGN(4)
|
||||||
{
|
{
|
||||||
src/rom_header.o(.text*);
|
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*);
|
gflib/*.o(.text*);
|
||||||
|
src/*.o(.text*);
|
||||||
asm/*.o(.text*);
|
asm/*.o(.text*);
|
||||||
} =0
|
} =0
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user