]> code.delx.au - gnu-emacs/commitdiff
(unexec) [__sgi]: Support the .got sections.
authorEli Zaretskii <eliz@gnu.org>
Sun, 20 Jan 2002 18:03:16 +0000 (18:03 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sun, 20 Jan 2002 18:03:16 +0000 (18:03 +0000)
src/ChangeLog
src/unexelf.c

index 9311135d8b2031b519f6266f9ee3b1429aa7a9fc..286bc530969b57bca658194bd1da70434526013e 100644 (file)
@@ -1,3 +1,7 @@
+2002-01-20  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * unexelf.c (unexec) [__sgi]: Support the .got sections.
+
 2002-01-20  Jason Rumney  <jasonr@gnu.org>
 
        * w32term.c (w32_native_per_char_metric): Don't trust the metrics
index 548465c0df9805b66676158d86c7eae92bc33ee0..5d1511fbda102a6a354d898d6372e1e37d6dfcd8 100644 (file)
@@ -1012,6 +1012,15 @@ 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 <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 @@ 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 (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),