linux.c32: make load_linux() support relocation
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 3 Apr 2009 23:09:29 +0000 (16:09 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 3 Apr 2009 23:09:29 +0000 (16:09 -0700)
commitddad35c72c939a87ee840cde7522cd7ef907b6b5
tree7bfc83064edbcc8cd25ffeaebf44fe017d60763f
parent5a18a8a0def0ac8ced4f10d8f93a7b737339c8fc
linux.c32: make load_linux() support relocation

In the case where the preferred kernel locations are not available,
make load_linux() smart enough to be able to relocate the kernel if at
all possible.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
com32/include/syslinux/align.h [new file with mode: 0644]
com32/lib/sys/argv.c
com32/lib/syslinux/load_linux.c