lkml.org 
[lkml]   [2009]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH 2/7] x86: Add an option to compile with -ffunction-sections -fdata-sections
On Wed, 4 Feb 2009, Rusty Russell wrote:
> Ah, OK, this explanation should probably be in a paragraph in the Kconfig
> help message, rather than hiding on lkml.

Sure.

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index c6a2674..3412706 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -602,6 +602,11 @@ config FUNCTION_DATA_SECTIONS
If you say Y here the compiler will give each function
and data structure its own ELF section.

+ This option conflicts with CONFIG_FUNCTION_TRACER, which
+ enables profiling code generation, because current GCC does
+ not support compiling with -ffunction-sections -pg (see
+ <http://gcc.gnu.org/ml/gcc-help/2008-11/msg00128.html>).
+
If unsure, say N.

config BOOT_PRINTK_DELAY

\
 
 \ /
  Last update: 2009-02-04 21:53    [W:0.995 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site