lkml.org 
[lkml]   [2007]   [Sep]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 15 Sep 2007 12:29:15 +0200 (CEST)
FromJan Engelhardt <>
SubjectRe: [PATCH] add consts where appropriate in sound/pci/hda/*
On Sep 15 2007 12:18, Sam Ravnborg wrote:
>> >   text    data     bss     dec     hex filename
>> > 106315  179564      36  285915   45cdb snd-hda-intel.o
>> > 283051    2624      36  285711   45c0f snd-hda-intel_patched.o
>> 
>> This is kinda odd. Why did the _text_ size increase by constifying?
>
>The data got converted from data to text because they were made const.

Which is odd. How can data become code? Or does 'text' actually
include .rodata?

>Making stuff const unfortunately does not make them disappear
>albeit the embedded folks would have liked that.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-15 12:31    [from the cache]
©2003-2008