1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-24 21:41:48 -08:00

(unexec): Index by n, not nn, when checking for ".sbss".

This commit is contained in:
Richard M. Stallman 2001-11-26 01:22:55 +00:00
parent 740d56df57
commit 91d53fc945
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2001-11-25 Richard M. Stallman <rms@gnu.org>
* unexelf.c (unexec): Index by n, not nn, when checking for ".sbss".
2001-11-25 Richard M. Stallman <rms@gnu.org>
* callproc.c (Fcall_process): When we make a bigger buffer for bufptr,

View file

@ -1013,7 +1013,7 @@ unexec (new_name, old_name, data_start, bss_start, entry_address)
".sdata1")
|| !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
".data1")
|| !strcmp (old_section_names + NEW_SECTION_H (nn).sh_name,
|| !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
".sbss"))
src = (caddr_t) OLD_SECTION_H (n).sh_addr;
else