all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* AIX 5.2 unexec problem
@ 2006-11-28 14:46 Joe Buehler
  2006-11-29  3:30 ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Joe Buehler @ 2006-11-28 14:46 UTC (permalink / raw)


Based on an examination of the file headers, the AIX unexec is simply moving
all of .bss into .data.  It does not attempt to move any part of .data to
.text.

I assume that no part of .data is moved to .text as a programming simplification.
Less memory will be shared between emacs instances, but everything will work fine.

My question regards treatment of .data/.bss.  Is all of the read/write data supposed
to be preserved across unexec?

If it is not, the AIX unexec is wrong, and further, the AIX link is incorrect:

Newer versions of the AIX linker reorder objects, so the manual placement of
lastfile.o on the link line doesn't cause the desired memory layout.  The
option -bnoobjreorder needs to be added to the link command line to turn off
object reordering.
-- 
Joe Buehler

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

end of thread, other threads:[~2006-12-03  3:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-28 14:46 AIX 5.2 unexec problem Joe Buehler
2006-11-29  3:30 ` Richard Stallman
2006-12-01 13:58   ` Joe Buehler
2006-12-03  3:14     ` Richard Stallman

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.