]> git.eshelyaron.com Git - emacs.git/commitdiff
(unexec): Index by n, not nn, when checking for ".sbss".
authorRichard M. Stallman <rms@gnu.org>
Mon, 26 Nov 2001 01:19:06 +0000 (01:19 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 26 Nov 2001 01:19:06 +0000 (01:19 +0000)
src/ChangeLog
src/unexelf.c

index 36cf5d7f480c24226630088c2bab4ef2ad14d8e9..b06eac4304b5a6dd20e22d292e8f85129011c0d3 100644 (file)
@@ -1,5 +1,7 @@
 2001-11-25  Richard M. Stallman  <rms@gnu.org>
 
+       * unexelf.c (unexec): Index by n, not nn, when checking for ".sbss".
+
        * callproc.c (Fcall_process): When we make a bigger buffer for bufptr,
        don't lose the data in it.
 
index 32fdbc77cba8b43cccbbe0addbbd72e72b317652..548465c0df9805b66676158d86c7eae92bc33ee0 100644 (file)
@@ -1016,7 +1016,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