Using -ffunction-sections and -p

Sriraman Tallam
Tue Dec 4 21:43:00 GMT 2012

On Tue, Dec 4, 2012 at 1:31 PM, Jeff Law <> wrote:
> On 12/03/2012 01:08 PM, Sriraman Tallam wrote:
>> Hi Jeff,
>>     Wondering if you got a chance to do this?
> Hmm, thinking more about this, it couldn't have been a 32 bit HPUX issue.
> First that port claims to not support -ffunction-sections -- which is true,
> we can't make arbitrarily named sections, though each function is placed
> into its own $CODE$ section/subspace.
> Second, even with each function in its own $CODE$ subspace, profiling works.
> So it couldn't have been 32 bit HPUX.
> I think Ian's plan of going forward and see if anyone complains is
> reasonable.  Regardless, we're talking about OSs that are > 10 years old,.
> the odds of folks building modern versions of GCC is pretty slim.  The odds
> they're building modern versions of GCC and care about both
> function-sections and profiling is probably approaching zero.
> Jeff

More information about the Gcc-patches mailing list