Re: [PATCH 2/7] x86: Add an option to compile with -ffunction-sections -fdata-sections

Rusty Russell
2009-02-04T10:59:19Z

On Wednesday 04 February 2009 20:56:04 Anders Kaseorg wrote:
> The conflict is that FUNCTION_TRACER enables KBUILD_CFLAGS += -pg, and
> passing -pg to current gcc causes it to emit a warning and disable
> -ffunction-sections:
> <http://gcc.gnu.org/ml/gcc-help/2008-11/msg00128.html>

Ah, OK, this explanation should probably be in a paragraph in the Kconfig
help message, rather than hiding on lkml.

Otherwise, updated looks good.

Thanks,
Rusty.