# HG changeset patch # User Eli Zaretskii # Date 1011549756 0 # Node ID c3a7554ccb9842d47ac2eb8e3f4b999c72de66a9 # Parent d20e97a1bd5a00b472c936ecba46ee24378e7cfd (unexec) [__sgi]: Support the .got sections. diff -r d20e97a1bd5a -r c3a7554ccb98 src/unexelf.c --- 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 , + 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),