linux-mips
[Top] [All Lists]

Re: Emacs problem

To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Subject: Re: Emacs problem
From: ralf@uni-koblenz.de
Date: Mon, 24 Aug 1998 12:19:30 +0200
Cc: linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com
In-reply-to: <19980823223647.12724@alpha.franken.de>; from Thomas Bogendoerfer on Sun, Aug 23, 1998 at 10:36:47PM +0200
References: <19980823223647.12724@alpha.franken.de>
Sender: owner-linux@cthulhu.engr.sgi.com
On Sun, Aug 23, 1998 at 10:36:47PM +0200, Thomas Bogendoerfer wrote:

> I've found the cause for the emacs X11 problems. The unexec code of Emacs
> doesn't handle relocations in the .rel.dyn section, because Mips seems to
> be the only platform, which uses such section (sgi and sni, are using
> a different implementation of unexec). This mishandling leads to an emacs
> binary, which has double resolved dynamic relocations (once when dumped,
> twice when executed), which leads to a seg fault. It happens only with
> X11, because the relocations are only for X11 stuff.
> 
> I'll try to fix that, but it would be good to have some documentation about
> the .rel.dyn section, which looks a little bit different than the i386
> .rel.data section). Any pointers other than the bfd source code ?

I think you can find the related ABI documentation on www.mipsabi.org.
What details exactly are you interested in?  I've got a printed copy at
home.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>