mboot.c32: handle non-self-terminating images
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 8 Jun 2010 17:58:48 +0000 (10:58 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 8 Jun 2010 17:58:48 +0000 (10:58 -0700)
commitac968004da9f0003db92e9becca828c2685a24ad
tree60d9a4a120aca17bdc46945777b0faf0d92d2902
parentcd508a8c968deda3b91a6c46ba1a1572753f3951
mboot.c32: handle non-self-terminating images

Handle non-ELF Multiboot images with 0 entries for data and/or bss
end, which means "until end of the file" and "nothing" for the two fields,
respectively.

Reported-and-tested-by: Thomas Bächler <thomas@archlinux.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
com32/mboot/map.c