Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Emacs problem
@ 1998-08-23 20:36 Thomas Bogendoerfer
  1998-08-24 10:19 ` ralf
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Bogendoerfer @ 1998-08-23 20:36 UTC (permalink / raw)
  To: linux-mips, linux

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 ?

Thomas.

-- 
See, you not only have to be a good coder to create a system like Linux,
you have to be a sneaky bastard too ;-)
                   [Linus Torvalds in <4rikft$7g5@linux.cs.Helsinki.FI>]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-08-29  0:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-23 20:36 Emacs problem Thomas Bogendoerfer
1998-08-24 10:19 ` ralf
1998-08-25 20:56   ` Thomas Bogendoerfer
1998-08-28 10:31     ` ralf
1998-08-29  0:08       ` Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox