Fixed elf load

Signed-off-by: Peng Fan <van.freenix@gmail.com>