]> git.baikalelectronics.ru Git - kernel.git/commit
asmlinkage Make __stack_chk_failed and memcmp visible
authorAndi Kleen <ak@linux.intel.com>
Sat, 8 Feb 2014 07:52:06 +0000 (08:52 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 14 Feb 2014 02:13:43 +0000 (18:13 -0800)
commite2fc951a4afab5e1951d1053c4204c360ebc7565
treee42c5a279bfae1769748229e65f6290cc291dc89
parent49ce6326e801b5c94732c845282c830ad8129705
asmlinkage Make __stack_chk_failed and memcmp visible

In LTO symbols implicitely referenced by the compiler need
to be visible. Earlier these symbols were visible implicitely
from being exported, but we disabled implicit visibility fo
 EXPORTs when modules are disabled to improve code size. So
now these symbols have to be marked visible explicitely.

Do this for __stack_chk_fail (with stack protector)
and memcmp.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1391845930-28580-10-git-send-email-ak@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
kernel/panic.c
lib/string.c