mirror of https://github.com/pret/pokeemerald.git
Pinning the GF header to the 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:
parent
f4f9329653
commit
8ff5ae7eb4
|
@ -27,7 +27,7 @@ SECTIONS {
|
|||
*libc.a:locale.o(.data);
|
||||
*libc.a:mallocr.o(.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
|
||||
|
||||
|
|
Loading…
Reference in New Issue