arm: Fix ARM kernel build with permitted binutils versions
authorRussell King <rmk+lkml@arm.linux.org.uk>
Wed, 27 Oct 2004 02:36:12 +0000 (04:36 +0200)
committerSam Ravnborg <sam@mars.ravnborg.org>
Wed, 27 Oct 2004 02:36:12 +0000 (04:36 +0200)
commitce57f2a048bcf2c755b37944e397bdb71202ec77
treecc7c84a7903490887b1d5156e86337331e2d590a
parent44bdb454541a769c55fbb043b9305b069822e2fd
arm: Fix ARM kernel build with permitted binutils versions

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: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

===== kernel/module.c 1.120 vs edited =====
kernel/module.c
scripts/kallsyms.c
scripts/mksysmap