]> git.baikalelectronics.ru Git - kernel.git/commit
x86 setup: correct segfault in generation of 32-bit reloc kernel
authorH. Peter Anvin <hpa@zytor.com>
Fri, 3 Oct 2008 20:00:56 +0000 (13:00 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 3 Oct 2008 20:42:04 +0000 (13:42 -0700)
commitbbf16b3467e26ec21d47af15ebe7b68384023b7e
tree047f2247cc3a40e5101e2a693ed4ca9a6cae6b2b
parent51c23f70328641ba7f505433f09ce9bf579e68f5
x86 setup: correct segfault in generation of 32-bit reloc kernel

Impact: segfault on build of a 32-bit relocatable kernel

When converting arch/x86/boot/compressed/relocs.c to support unlimited
sections, the computation of sym_strtab in walk_relocs() was done
incorrectly.  This causes a segfault for some people when building the
relocatable 32-bit kernel.

Pointed out by Anonymous <pageexec@freemail.hu>.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/boot/compressed/relocs.c