lkml.org 
[lkml]   [2007]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 18/33] kbuild: warn about references from .init.text to .exit.text
    Date
    The .exit.text section may be discarded either at build or at runtime.
    So let modpost warn if this situation is detected.

    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
    ---
    scripts/mod/modpost.c | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
    index 1ef7875..7f5ff7e 100644
    --- a/scripts/mod/modpost.c
    +++ b/scripts/mod/modpost.c
    @@ -1214,7 +1214,6 @@ static int exit_section_ref_ok(const char *name)
    ".exit.data",
    ".exit.text",
    ".exitcall.exit",
    - ".init.text",
    ".rodata",
    NULL
    };
    --
    1.5.0.6
    -
    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-07-17 16:13    [W:0.018 / U:0.692 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site