+2001-03-28 Gordon Matzigkeit <gord@fig.org>
+
+ * stage2/boot.c (load_image): Don't cast entry_addr to an int, or
+ the top bit will be interpreted as the sign.
+
2001-03-16 OKUJI Yoshinori <okuji@gnu.org>
From Bodo Rueskamp <br@itchigo.com>:
(check_password): New function.
* stage2/cmdline.c (run_script): Don't show commands that have
the hidden attribute.
- * stage2/buildins.c (password_type): New variable.
+ * stage2/builtins.c (password_type): New variable.
(check_password): New function.
(password_func): Handle the --md5 option and set password_type.
Check if in CMDLINE or SCRIPT mode and ask password immediately.
else
entry_addr = (entry_func) (pu.elf->e_entry & 0xFFFFFF);
- if (((int) entry_addr) < 0x100000)
+ if (entry_addr < (entry_func) 0x100000)
errnum = ERR_BELOW_1MB;
/* don't want to deal with ELF program header at some random