1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-27 23:50:30 -08:00

(unexec): Fix type mismatch.

This commit is contained in:
Karl Heuer 1995-05-12 00:12:57 +00:00
parent 5c586a6cbf
commit 8c1e9afe7a

View file

@ -791,7 +791,8 @@ unexec (new_name, old_name, data_start, bss_start, entry_address)
&& NEW_SECTION_H (n).sh_type != SHT_SYMTAB)
continue;
symnames = NEW_SECTION_H (NEW_SECTION_H (n).sh_link).sh_offset + new_base;
symnames = ((byte *) new_base
+ NEW_SECTION_H (NEW_SECTION_H (n).sh_link).sh_offset);
symp = (Elf32_Sym *) (NEW_SECTION_H (n).sh_offset + new_base);
symendp = (Elf32_Sym *) ((byte *)symp + NEW_SECTION_H (n).sh_size);