From xemacs-m  Mon Jul  7 20:54:53 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id UAA13648
	for <xemacs-beta@xemacs.org>; Mon, 7 Jul 1997 20:54:52 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.6/8.8.6) id SAA31666;
	Mon, 7 Jul 1997 18:57:36 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: fix to unexelfsgi.c
References: <19970629170951.31459@iria.mines.u-nancy.fr> <199706291537.KAA03033@xemacs.org> <yljoh8f6uxi.fsf@halfway.dde.dk>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@xemacs.org>
In-Reply-To: Peter Skov Knudsen's message of "07 Jul 1997 10:03:21 +0000"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 07 Jul 1997 18:57:36 -0700
Message-ID: <m2k9j2xq3z.fsf@altair.xemacs.org>
Lines: 33
X-Mailer: Gnus v5.4.62/XEmacs 20.3(beta12) - "Helsinki"

Should I apply this patch?

Peter Skov Knudsen <knu@dde.dk> writes:

> I had a similar problem when porting XEmacs to our own architecture,
> the Supermax Enterprise Server, which is somehow similar to the
> SGI. The attached diff solves the problem with libc dependencies on
> our architecture, so it just might apply to the SGI also.

> --- unexelf.c   1997/04/16 16:35:49
> ***************
> *** 800,806 ****
>          instead of the old file.  */
>         if (!strcmp (old_section_names + NEW_SECTION_H (n).sh_name, ".data")
>           || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
> !                     ".data1"))
>         src = (caddr_t) OLD_SECTION_H (n).sh_addr;
>         else
>         src = old_base + OLD_SECTION_H (n).sh_offset;
> --- 800,808 ----
>          instead of the old file.  */
>         if (!strcmp (old_section_names + NEW_SECTION_H (n).sh_name, ".data")
>           || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
> !                     ".data1")
> !          || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
> !                      ".got"))
>         src = (caddr_t) OLD_SECTION_H (n).sh_addr;
>         else
>         src = old_base + OLD_SECTION_H (n).sh_offset;

-- 
steve@calag.com baur
Unsolicited commercial e-mail will be billed at $250/message.

