diff options
author | Eli Zaretskii <eliz@gnu.org> | 2002-01-20 18:03:16 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2002-01-20 18:03:16 +0000 |
commit | 3b927d14387edf3272664b63ec7dfc494c9ed5d9 (patch) | |
tree | 1aa38e4449f6ede06a4a59a565d47d5ef2e8237b /src/unexelf.c | |
parent | ff2ed6c7f7e6be21ed9ab2d454de08fc8a5d66b8 (diff) | |
download | emacs-3b927d14387edf3272664b63ec7dfc494c9ed5d9.tar.gz |
(unexec) [__sgi]: Support the .got sections.
Diffstat (limited to 'src/unexelf.c')
-rw-r--r-- | src/unexelf.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/unexelf.c b/src/unexelf.c index 548465c0df9..5d1511fbda1 100644 --- a/src/unexelf.c +++ b/src/unexelf.c @@ -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), |