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

261 Views Asked by At

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 executable 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.

2

There are 2 best solutions below

3
AudioBubble On BEST ANSWER
0
Ofir On