From: Richard M. Stallman Date: Mon, 26 Nov 2001 01:22:55 +0000 (+0000) Subject: (unexec): Index by n, not nn, when checking for ".sbss". X-Git-Tag: emacs-21.2~267 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=91d53fc9450225669c8ad486afda6b9adf4fc0bc;p=emacs.git (unexec): Index by n, not nn, when checking for ".sbss". --- diff --git a/src/ChangeLog b/src/ChangeLog index 022a0cb9dbd..450deb84618 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-11-25 Richard M. Stallman + + * unexelf.c (unexec): Index by n, not nn, when checking for ".sbss". + 2001-11-25 Richard M. Stallman * callproc.c (Fcall_process): When we make a bigger buffer for bufptr, diff --git a/src/unexelf.c b/src/unexelf.c index 6153adae2b4..449b76eb27e 100644 --- a/src/unexelf.c +++ b/src/unexelf.c @@ -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