x86, build: Don't get confused by local symbols
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 5 May 2014 22:23:35 +0000 (15:23 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 5 May 2014 22:23:35 +0000 (15:23 -0700)
commitac008fe0a3236729751ccde655c215b436dfdaeb
treead667a87eb947cbcc3e6154d7b1865e5f0739253
parent0214196ce0e941256797bf54b2fcf1450452df2a
x86, build: Don't get confused by local symbols

arch/x86/crypto/sha1_avx2_x86_64_asm.S introduced _end as a local
symbol, which broke the build under certain circumstances.  Although
the wisdom of _end as a local symbol can definitely be questioned, the
build should not break for that reason.

Thus, filter the output of nm to only get global symbols of
appropriate type.

Reported-by: Andy Lutomirski <luto@amacapital.net>
Cc: Chandramouli Narayanan <mouli@linux.intel.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/n/tip-uxm3j3w3odglcwhafwq5tjqu@git.kernel.org
arch/x86/boot/Makefile