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

From: Rusty Russell
Date: Wed Feb 04 2009 - 05:59:21 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/