From 0da16aa1fd61a87512b60c369d739b4c0f67a115 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 20 Jan 2002 18:07:33 +0000 Subject: [PATCH] (unexec) [__sgi]: Support the .got sections. --- src/unexelf.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/unexelf.c b/src/unexelf.c index 592490d2798..3779127d113 100644 --- a/src/unexelf.c +++ b/src/unexelf.c @@ -1033,6 +1033,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 , + 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), @@ -1211,6 +1220,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 (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), -- 2.39.5