linux.c32: For protocol 2.10+, use init_size when relocating
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 18 Mar 2011 17:55:11 +0000 (10:55 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 18 Mar 2011 17:55:11 +0000 (10:55 -0700)
commitbf5077ab7b0979c4418e6522835c6b054debd3a7
treea119a14d8ed8482cf357d98e8e5a22e6d187c22d
parent239fed5bbdab41643af2d119107023ec3e0d8a3c
linux.c32: For protocol 2.10+, use init_size when relocating

If we have to relocate the kernel, use the init_size parameter if it
is available, rather than an arbitrary fudge factor.

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