This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: -ffuntion-sections doesn't work
- From: Andrew Haley <aph at gcc dot gnu dot org>
- To: zeta <zoraidahidalgo at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 11 Apr 2007 12:20:35 +0100
- Subject: Re: -ffuntion-sections doesn't work
- References: <9937240.post@talk.nabble.com>
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.