Kbuild, lto: Handle basic LTO in modpost
authorAndi Kleen <ak@linux.intel.com>
Sat, 8 Feb 2014 08:01:17 +0000 (09:01 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 14 Feb 2014 04:25:05 +0000 (20:25 -0800)
commitef178f9238b142cc1020265e176b20d27fd02ba9
tree20b00b7972a5d45093ff873ac969c4f88f8a7794
parent1e64ff42ea3d8d2fc8aa71f9717b3c1cb6c2f893
Kbuild, lto: Handle basic LTO in modpost

- Don't warn about LTO marker symbols. modpost runs before
the linker, so the module is not necessarily LTOed yet.
- Don't complain about .gnu.lto* sections

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