]> 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:22:55 +0000 (01:22 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 26 Nov 2001 01:22:55 +0000 (01:22 +0000)
src/ChangeLog
src/unexelf.c

index 022a0cb9dbdbbbcd823aa465335cb8debf5da932..450deb8461871901b95ea165da2bc5dae6f1663f 100644 (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,
index 6153adae2b4386f59f005f97786781f3af9748f9..449b76eb27e7fdb2b7f0bd37a5bcbf2385bf051e 100644 (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