load_linux.c: when relocating, need to update code32_start
authorH. Peter Anvin <hpa@zytor.com>
Tue, 5 May 2009 00:34:46 +0000 (17:34 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 5 May 2009 00:34:46 +0000 (17:34 -0700)
commitd6c3d86ccb0e4a21259f617fef3fdef88b23d06a
tree43e40833dfaf4dfaf83714310f87fbd85040eae3
parentff2f2c391c80835e8725447f0cf644f2bbfee51f
load_linux.c: when relocating, need to update code32_start

The normal value for code32_start is based on the kernel load address
(in fact, it usually *is* the kernel load address); accordingly, it
needs to be updated if the kernel is relocated.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/lib/syslinux/load_linux.c