changeset 42856:c3a7554ccb98

(unexec) [__sgi]: Support the .got sections.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 20 Jan 2002 18:02:36 +0000
parents d20e97a1bd5a
children bfcf82a8b5cf
files src/unexelf.c
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/unexelf.c	Sun Jan 20 17:54:36 2002 +0000
+++ b/src/unexelf.c	Sun Jan 20 18:02:36 2002 +0000
@@ -1012,6 +1012,15 @@
 		      ".lit4")
 	  || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
 		      ".lit8")
+#if __sgi
+	  /* According to David Kaelbling <drk@bobo.hudson.sgi.com>,
+	     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),
@@ -1190,6 +1199,10 @@
 			".lit4")
 	    || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
 			".lit8")
+#if __sgi
+	    || !strcmp ((old_section_names + NEW_SECTION_H (n).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),