WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] dump-core: always use ELFCLASS64 to support x86_32pa

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] dump-core: always use ELFCLASS64 to support x86_32pae
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Wed, 7 Mar 2007 12:17:36 +0900
Cc: Dave Anderson <anderson@xxxxxxxxxx>
Delivery-date: Tue, 06 Mar 2007 19:16:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
always use elfclass64 format to support x86_32pae.
Without this patch xen dump-core format can't handle over 4GB case.

I don't think no tools but xc_ptrace_core is aware of the new
xen dump-core format so that it is safe to change from ELFCLASS32
to ELFCLASS64.
ELFCLASS64 for x86_32 might seem to be odd, but it's widely used.
The recent Linux kdump adopts ELFCLASS64 as default even
for non-pae x86_32. (At least development tree version does so.)
-- 
yamahata

Attachment: 14202_07c57aa351fa_dump_core_elfclass64.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] dump-core: always use ELFCLASS64 to support x86_32pae, Isaku Yamahata <=