14 Oct, 2014

1 commit

  • In file included from scripts/sortextable.c:194:0:
    scripts/sortextable.c: In function `main':
    scripts/sortextable.h:176:3: warning: `relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
    memset(relocs, 0, relocs_size);
    ^
    scripts/sortextable.h:106:6: note: `relocs_size' was declared here
    int relocs_size;
    ^
    In file included from scripts/sortextable.c:192:0:
    scripts/sortextable.h:176:3: warning: `relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
    memset(relocs, 0, relocs_size);
    ^
    scripts/sortextable.h:106:6: note: `relocs_size' was declared here
    int relocs_size;
    ^

    gcc 4.9.1

    Signed-off-by: Tim Gardner
    Reviewed-by: Jamie Iles

    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tim Gardner
     

13 Nov, 2013

1 commit


14 Feb, 2013

1 commit

  • The exception table sorter outputs one line every time
    it gets called, e.g. 'sort done marker at 66dc00', which
    is slightly annoying when doing 'make -s' which is otherwise
    completely silent. Since that output is not helpful to
    most people building the kernel, turn it off by default.

    Signed-off-by: Arnd Bergmann
    Acked-by: David Daney
    Cc: "H. Peter Anvin"

    Arnd Bergmann
     

25 Apr, 2012

1 commit

  • x86 is now using relative rather than absolute addresses in its
    exception table, so we add a sorter for these. If there are
    relocations on the __ex_table section, they are redundant and probably
    incorrect after the sort, so they are zeroed out leaving them valid
    and consistent.

    Also use the unaligned safe accessors from tools/{be,le}_byteshift.h

    Signed-off-by: David Daney
    Link: http://lkml.kernel.org/r/1335291795-26693-2-git-send-email-ddaney.cavm@gmail.com
    Signed-off-by: H. Peter Anvin

    David Daney
     

20 Apr, 2012

1 commit