Mercurial > emacs
comparison src/unexelf.c @ 41529:370b4ba3f429
(unexec): Index by n, not nn, when checking for ".sbss".
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 26 Nov 2001 01:18:25 +0000 |
parents | bc45052c83ae |
children | c3a7554ccb98 |
comparison
equal
deleted
inserted
replaced
41528:e6244d9fb1c6 | 41529:370b4ba3f429 |
---|---|
1014 ".lit8") | 1014 ".lit8") |
1015 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), | 1015 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), |
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 |
1023 src = old_base + OLD_SECTION_H (n).sh_offset; | 1023 src = old_base + OLD_SECTION_H (n).sh_offset; |
1024 | 1024 |