sm64coopdx/windows.ld
Radek Krzyśków 0627d6ab48
[Experimental] Reduce the size of Windows builds by cleaning the MinGW debug info (#585)
* Reduce the size of Windows builds by cleaning the debug info

* Update IS_DEV_OR_DEBUG in Makefile
2024-12-29 14:29:26 -05:00

10 lines
257 B
Text

/**
* Removes the spam of ".ident" strings (around 50 KB), such as:
* "GCC: (Rev3, Built by MSYS2 project) 14.1.0",
* found in every compiled object file (and some static libraries).
*/
SECTIONS
{
/DISCARD/ : { *(.rdata$zzz) }
}
INSERT BEFORE .rdata;