From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Buehler Newsgroups: gmane.emacs.devel Subject: Re: AIX 5.2 unexec problem Date: Fri, 01 Dec 2006 08:58:25 -0500 Organization: Spirent Communications, Inc. Message-ID: <45703501.9080604@spirentcom.com> References: Reply-To: jbuehler@spirentcom.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1165048486 30314 80.91.229.2 (2 Dec 2006 08:34:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 2 Dec 2006 08:34:46 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 02 09:34:44 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GqQKY-000133-FN for ged-emacs-devel@m.gmane.org; Sat, 02 Dec 2006 09:34:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GqQKY-0008L9-3n for ged-emacs-devel@m.gmane.org; Sat, 02 Dec 2006 03:34:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gq8uM-0006Uj-Va for emacs-devel@gnu.org; Fri, 01 Dec 2006 08:58:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gq8uK-0006SX-5l for emacs-devel@gnu.org; Fri, 01 Dec 2006 08:58:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gq8uJ-0006SM-Vv for emacs-devel@gnu.org; Fri, 01 Dec 2006 08:58:28 -0500 Original-Received: from [208.22.58.135] (helo=smtp-rok.spirentcom.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gq8uJ-0004SD-Qb for emacs-devel@gnu.org; Fri, 01 Dec 2006 08:58:28 -0500 Original-Received: from [127.0.0.1] ([10.32.89.211]) by smtp-rok.spirentcom.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 1 Dec 2006 08:58:25 -0500 User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) In-Reply-To: X-Enigmail-Version: 0.94.0.0 X-OriginalArrivalTime: 01 Dec 2006 13:58:25.0806 (UTC) FILETIME=[C57A92E0:01C71550] X-Mailman-Approved-At: Sat, 02 Dec 2006 03:34:28 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63218 Archived-At: Richard Stallman wrote: > My question regards treatment of .data/.bss. Is all of the read/write data supposed > to be preserved across unexec? > > It is abslutely necessary to dump the bss as data because it is filled > with Lisp objects that must be preserved in the dumped Emacs. > Is all of bss supposed to be saved? Even the parts that come after the marker symbols in lastfile.c? > 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. > > Can you fix it using that method? > I am currently building with -bnoobjreorder in LDFLAGS and that does indeed preserve the proper object ordering. -- Joe Buehler
E-mail confidentiality. -------------------------------- This e-mail contains confidential and / or privileged information belonging to Spirent Communications plc, its affiliates and / or subsidiaries. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution and / or the taking of any action based upon reliance on the contents of this transmission is strictly forbidden. If you have received this message in error please notify the sender by return e-mail and delete it from your system. If you require assistance, please contact our IT department at helpdesk@spirentcom.com. Spirent Communications plc, Spirent House, Crawley Business Quarter, Fleming Way, Crawley, West Sussex, RH10 9QL, United Kingdom. Tel No. +44 (0) 1293 767676 Fax No. +44 (0) 1293 767677 Registered in England Number 470893 Registered at Spirent House, Crawley Business Quarter, Fleming Way, Crawley, West Sussex, RH10 9QL, United Kingdom Or if within the US, Spirent Communications, 26750 Agoura Road, Calabasas, CA, 91302, USA. Tel No. 1-818-676- 2300