emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AIX 5.2 unexec problem


From: Joe Buehler
Subject: AIX 5.2 unexec problem
Date: Tue, 28 Nov 2006 09:46:48 -0500
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]