• Russell King's avatar
    arm: Fix ARM kernel build with permitted binutils versions · ce57f2a0
    Russell King authored
    All ARM binutils versions post 2.11.90 contains an extra "feature" which
    interferes with the kernel in various ways - extra "mapping symbols"
    in the ELF symbol table '$a', '$t' and '$d'.  This causes two problems:
    
    1. Since '$a' symbols have the same value as function names, this
       causes anything which uses the kallsyms infrastructure to report
       wrong values.
    2. programs which parse System.map do not expect symbols to start with
       '$'.
    Signed-off-by: default avatarRussell King <rmk@arm.linux.org.uk>
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    
    ===== kernel/module.c 1.120 vs edited =====
    ce57f2a0
module.c 52.8 KB