To divide functions into sections and then remove unused sections, I must provide flags "-fdata-sections" and "-ffunction-sections" in GCC and a flag "--gc-sections" in LD. Most of the build systems don't support these flags so GCC will generate bigger binaries. Is it possible to enable this feature without giving any command line flags manually?
- Is it possible to enable data sections and functi... 3119369616.qq via Gcc
- Re: Is it possible to enable data sections a... Arsen Arsenović via Gcc
- Re: Is it possible to enable data sections a... David Brown