aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2001-11-26 01:19:06 +0000
committerRichard M. Stallman2001-11-26 01:19:06 +0000
commit6108b49c0a0681fb08882515d4d434fc173e7164 (patch)
tree29c48ca2516b7ccba2f63dc19ce2aed9a23035ec /src
parent7ec8aa3fdd3a3771616694976c171b0a757d8ac1 (diff)
downloademacs-6108b49c0a0681fb08882515d4d434fc173e7164.tar.gz
emacs-6108b49c0a0681fb08882515d4d434fc173e7164.zip
(unexec): Index by n, not nn, when checking for ".sbss".
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/unexelf.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 36cf5d7f480..b06eac4304b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12001-11-25 Richard M. Stallman <rms@gnu.org> 12001-11-25 Richard M. Stallman <rms@gnu.org>
2 2
3 * unexelf.c (unexec): Index by n, not nn, when checking for ".sbss".
4
3 * callproc.c (Fcall_process): When we make a bigger buffer for bufptr, 5 * callproc.c (Fcall_process): When we make a bigger buffer for bufptr,
4 don't lose the data in it. 6 don't lose the data in it.
5 7
diff --git a/src/unexelf.c b/src/unexelf.c
index 32fdbc77cba..548465c0df9 100644
--- a/src/unexelf.c
+++ b/src/unexelf.c
@@ -1016,7 +1016,7 @@ unexec (new_name, old_name, data_start, bss_start, entry_address)
1016 ".sdata1") 1016 ".sdata1")
1017 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), 1017 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1018 ".data1") 1018 ".data1")
1019 || !strcmp (old_section_names + NEW_SECTION_H (nn).sh_name, 1019 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1020 ".sbss")) 1020 ".sbss"))
1021 src = (caddr_t) OLD_SECTION_H (n).sh_addr; 1021 src = (caddr_t) OLD_SECTION_H (n).sh_addr;
1022 else 1022 else