mirror of
https://github.com/zeldaret/oot
synced 2026-07-07 14:03:40 -04:00
discard header sections
This commit is contained in:
@@ -18,6 +18,7 @@ static void write_ld_script(FILE *fout)
|
||||
int j;
|
||||
|
||||
fputs("SECTIONS {\n"
|
||||
"/DISCARD/ : { *(.MIPS.abiflags) *(.gnu.attributes) }\n"
|
||||
" _RomSize = 0;\n"
|
||||
" _RomStart = _RomSize;\n\n",
|
||||
fout);
|
||||
|
||||
Reference in New Issue
Block a user