From: Dave Love Date: Thu, 5 Sep 2002 17:07:41 +0000 (+0000) Subject: (unexec): Make .got handling not SGI-specific. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~367 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f264acb0e4f0d13c494a06bbfca3e7a919dd1d4e;p=emacs.git (unexec): Make .got handling not SGI-specific. --- diff --git a/src/unexelf.c b/src/unexelf.c index a9d1e247185..affdbad1964 100644 --- a/src/unexelf.c +++ b/src/unexelf.c @@ -1012,15 +1012,8 @@ unexec (new_name, old_name, data_start, bss_start, entry_address) ".lit4") || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), ".lit8") -#if __sgi - /* According to David Kaelbling , - the SGI-specific section below is required to avoid core - dumps during startup (due to SIGBUS) in an X-toolkit - version of Emacs . That was on Irix 6.5.14f with - development tools versions 7.3.1.3m and 7.2.1.3m. */ || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), ".got") -#endif || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), ".sdata1") || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), @@ -1204,10 +1197,8 @@ unexec (new_name, old_name, data_start, bss_start, entry_address) ".lit4") || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), ".lit8") -#if __sgi || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), ".got") -#endif || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), ".sdata1") || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),