-ffuntion-sections doesn't work

Andrew Haley aph@gcc.gnu.org
Wed Apr 11 11:20:00 GMT 2007


zeta writes:
 
 > I'm using -ffunction-sections flag in order to separate each program's
 > function in a different section. When I check the executable file with
 > objdump command, functions are placed in  the .text section as a normal
 > compilation without -ffunction-sections flag. Is there any requirement to
 > use this flag? 

It usually works.  Tell us what you did.  Be precise.

Andrew.



More information about the Gcc-help mailing list