lkml.org 
[lkml]   [2010]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] Built kernel without -O2 option
    From
    Date
    On Mon, 29 Nov 2010 16:52:50 +0800, Américo Wang said:

    > >For example:
    > >ifdef CONFIG_CC_CLOSE_OPTIMIZATION
    > >CFLAGS_fpu.o += -O2
    > >CFLAGS_aesni-intel_glue.o += -O2
    > >CFLAGS_ghash-clmulni-intel_glue.o += -O2
    > >endif
    >
    > No, I didn't mean this, I meant some function that have to be inlined
    > are those who only work when being inlined, e.g. current_text_addr().
    >
    > I think it is not alone. :)

    Anything that uses the gcc __builtin_return_adress() extension should also be
    audited - that returns different results for inlined and non-inlined callers.

    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2010-11-29 19:07    [W:3.769 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site