开发者

What is the gcc equivalent option for the -qfuncsect option of XL compiler of AIX?

开发者 https://www.devze.com 2023-01-27 06:08 出处:网络
XL Compiler of AIX seems to have the -qfuncsect option which places each function in a seperate object control section with the effect that when the final executab开发者_运维技巧le is created it helps

XL Compiler of AIX seems to have the -qfuncsect option which places each function in a seperate object control section with the effect that when the final executab开发者_运维技巧le is created it helps in removing unwanted functions.

Is there an equivalent option for the same in gcc? I am unable to find the same.


-ffunction-sections
-fdata-sections

http://gcc.gnu.org/onlinedocs/gcc-4.0.4/gcc/Optimize-Options.html


See -ffunction-sections

0

精彩评论

暂无评论...
验证码 换一张
取 消