]> git.baikalelectronics.ru Git - kernel.git/commit
Kbuild, lto: Drop .number postfixes in modpost
authorAndi Kleen <ak@linux.intel.com>
Sat, 8 Feb 2014 08:01:12 +0000 (09:01 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 14 Feb 2014 04:24:58 +0000 (20:24 -0800)
commit5464aa34b163db9381928b6b58fdd1cf8d6685e5
tree3f899f31df5ee2a23e1df73a9b18a36af02677e4
parent0756806dc5c87c41953f92f54c6a074124153f7e
Kbuild, lto: Drop .number postfixes in modpost

LTO turns all global symbols effectively into statics. This
has the side effect that they all have a .NUMBER postfix to make
them unique. In modpost drop this postfix because it confuses
it.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1391846481-31491-8-git-send-email-ak@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
scripts/mod/modpost.c
scripts/mod/modpost.h