]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: Check if linker supports the -X option
authorAndi Kleen <andi@firstfloor.org>
Wed, 16 Sep 2009 20:36:55 +0000 (22:36 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 20 Sep 2009 10:27:42 +0000 (12:27 +0200)
commit9e3ba8552199f3d98cf63f416db9582cf6b59a86
treee90e9340bc57f172c81ec6a8dd096a812d47014c
parent91d2023e2b969a8aa65fcfd386e50e355290ab25
kbuild: Check if linker supports the -X option

The new alternative `gold' linker in recent binutils doesn't support
the -X option. This breaks allyesconfig builds that have
CONFIG_STRIP_ASM_SYMS enabled. Check if the linker really supports
the option using ld-option.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile