all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Question about dumping emacs under Solaris
@ 2008-07-04  4:06 Ali Bahrami
  2008-07-04  7:39 ` Dan Nicolaescu
  2008-07-04 11:46 ` Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: Ali Bahrami @ 2008-07-04  4:06 UTC (permalink / raw
  To: emacs-devel

Hello,

    I have a question about how emacs is dumped under
Solaris. In the file emacs/src/s/sol-2-6.h:

	/* Handle Solaris 2.6.  */

	#include "sol2-5.h"

	#if 0 /* dldump does not handle all the extensions used by GNU ld.  */
	#undef UNEXEC
	#define UNEXEC unexsol.o
	#endif
	
This ifdef prevents the unexsol.c code, containing a call
to dldump(), from being used. Instead, the generic ELF unexec
code is used. Looking at the RCS revisions, I see that dldump()
was disabled in revision 1.3 of the file, dating from
September 13, 2002.

Can anyone shed any light on what GNU ld extensions are not
properly handled by the Solaris dldump()? I know that 2002
was a while ago, and possibly no one remembers, but it
would be helpful to know what went wrong.

I work at Sun, on the linker. We've discussed this, and are at
a loss as to what the problem might be. dldump() is pretty
generic, and nothing leaps out as being unable to support GNU
ld objects. There are some differences between the ELF objects
produced by the Solaris and GNU, but they tend to be pretty
compatible for the most part.

In addition to satisfying my curiosity, I may be able to fix
whatever is missing. Any such changes would of course be
released with OpenSolaris as free source code.

Thanks for your help.

- Ali





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

end of thread, other threads:[~2008-07-04 20:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-04  4:06 Question about dumping emacs under Solaris Ali Bahrami
2008-07-04  7:39 ` Dan Nicolaescu
2008-07-04 18:34   ` Ali Bahrami
2008-07-04 19:51     ` Stefan Monnier
2008-07-04 11:46 ` Eli Zaretskii
2008-07-04 20:52   ` Ali Bahrami

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.