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:
parent
70e3473b63
commit
7f2c5de5a7
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue