ldlinux: Don't try reloading ldlinux.c32 unless it's likely to succeed
commit163b8b1a7aabad440e824c64e51c19709cd0a529
authorMatt Fleming <matt.fleming@intel.com>
Thu, 29 Nov 2012 22:52:42 +0000 (29 22:52 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 30 Nov 2012 11:04:23 +0000 (30 11:04 +0000)
tree316106e146c7ca2e1bdf0aa9c63cb39431653d61
parent4bd9ed23c51beb53f5fb650992ed20328876c411
ldlinux: Don't try reloading ldlinux.c32 unless it's likely to succeed

If we can't access ldlinux.c32 with findpath(), reloading it isn't
going to work so don't unload it or any of the other modules. Instead
return control to the caller.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/elflink/ldlinux/execute.c
core/elflink/load_env32.c