1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-14 05:19:36 +00:00

discard header sections

This commit is contained in:
fig02 2022-02-11 18:45:50 -05:00
parent 70e3473b63
commit 7f2c5de5a7

View file

@ -18,6 +18,7 @@ static void write_ld_script(FILE *fout)
int j; int j;
fputs("SECTIONS {\n" fputs("SECTIONS {\n"
"/DISCARD/ : { *(.MIPS.abiflags) *(.gnu.attributes) }\n"
" _RomSize = 0;\n" " _RomSize = 0;\n"
" _RomStart = _RomSize;\n\n", " _RomStart = _RomSize;\n\n",
fout); fout);