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:
parent
5c586a6cbf
commit
8c1e9afe7a
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue