bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unexelf.c failure on IRIX


From: Dave Love
Subject: Re: unexelf.c failure on IRIX
Date: 25 Nov 2001 17:55:35 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30

>>>>> "DK" == David Kaelbling <address@hidden> writes:

 DK> I recently built emacs 21.1 on SGI IRIX 6.5, and found that if I
 DK> enabled an x-toolkit (any kind), the resulting dumped emacs would die
 DK> at startup with a bus error.  Some trial and error showed that the
 DK> following patch let it work again:

What version of the developments tools is this with?  I didn't see it
with 

I  c_dev                07/11/2001  C Headers and Libraries, 7.3

on 6.5.12m.

The list of ELF sections it's producing might be worth knowing (via
`elfdump' if I remember correctly).

Is there any reason .got should be treated specially on Irix versus
other ELF platforms?

 DK> --- ./src/unexelf.c        Tue Sep 26 09:01:57 2000
 DK> +++ ../emacs-21.1/./src/unexelf.c  Tue Nov 20 14:23:39 2001
 DK> @@ -994,6 +994,10 @@
 DK>                  ".lit4")
 DK>      || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
 DK>                  ".lit8")
 DK> +#if __sgi
 DK> +    || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
 DK> +                ".got")
 DK> +#endif
 DK>      || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
 DK>                  ".sdata1")
 DK>      || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
 DK> @@ -1172,6 +1176,10 @@
 DK>                    ".lit4")
 DK>        || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
 DK>                    ".lit8")
 DK> +#if __sgi
 DK> +      || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
 DK> +                  ".got")
 DK> +#endif
 DK>        || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
 DK>                    ".sdata1")
 DK>        || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),



reply via email to

[Prev in Thread] Current Thread [Next in Thread]