aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2002-10-07 22:50:47 +0000
committerRichard M. Stallman2002-10-07 22:50:47 +0000
commitd4e3d7f27089ee0dfc29e4788de124afc435eaec (patch)
treec09e37acfebf0de3cc9269ff2b2229499752e0c5 /src
parenta6ce686959bdae6ac006e07f1a72482fa4c3012a (diff)
downloademacs-d4e3d7f27089ee0dfc29e4788de124afc435eaec.tar.gz
emacs-d4e3d7f27089ee0dfc29e4788de124afc435eaec.zip
Redo 9/16 change, but only if IRIX6_5.
Diffstat (limited to 'src')
-rw-r--r--src/unexelf.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/unexelf.c b/src/unexelf.c
index cf3fc9d5bcd..d0543dc41c9 100644
--- a/src/unexelf.c
+++ b/src/unexelf.c
@@ -1012,6 +1012,23 @@ unexec (new_name, old_name, data_start, bss_start, entry_address)
1012 ".lit4") 1012 ".lit4")
1013 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), 1013 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1014 ".lit8") 1014 ".lit8")
1015 /* The conditional bit below was in Oliva's original code
1016 (1999-08-25) and seems to have been dropped by mistake
1017 subsequently. It prevents a crash at startup under X in
1018 `IRIX64 6.5 6.5.17m' with c_dev 7.3.1.3m. It causes no
1019 trouble on the other ELF platforms I could test (Irix
1020 6.5.15m, Solaris 8, Debian Potato x86, Debian Woody
1021 SPARC); however, it's reported to cause crashes under
1022 some version of GNU/Linux. It's not yet clear what's
1023 changed in that Irix version to cause the problem, or why
1024 the fix sometimes fails under GNU/Linux. There's
1025 probably no good reason to have something Irix-specific
1026 here, but this will have to do for now. IRIX6_5 is the
1027 most specific macro we have to test. -- fx 2002-10-01 */
1028#ifdef IRIX6_5
1029 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1030 ".got")
1031#endif
1015 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), 1032 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1016 ".sdata1") 1033 ".sdata1")
1017 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), 1034 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
@@ -1195,6 +1212,10 @@ unexec (new_name, old_name, data_start, bss_start, entry_address)
1195 ".lit4") 1212 ".lit4")
1196 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), 1213 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
1197 ".lit8") 1214 ".lit8")
1215#ifdef IRIX6_5 /* see above */
1216 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
1217 ".got")
1218#endif
1198 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), 1219 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
1199 ".sdata1") 1220 ".sdata1")
1200 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), 1221 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),