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] stubdom: fix constructors/destructors in 64bit mode

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] stubdom: fix constructors/destructors in 64bit mode
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Date: Thu, 22 May 2008 16:32:38 +0100
Delivery-date: Thu, 22 May 2008 08:33:04 -0700
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>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
stubdom: fix constructors/destructors in 64bit mode

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>

diff -r d64ab53cc30e extras/mini-os/arch/ia64/minios-ia64.lds
--- a/extras/mini-os/arch/ia64/minios-ia64.lds  Thu May 22 16:08:17 2008 +0100
+++ b/extras/mini-os/arch/ia64/minios-ia64.lds  Thu May 22 16:34:20 2008 +0100
@@ -54,18 +54,18 @@
 
   .ctors : {
         __CTOR_LIST__ = .;
-        LONG((__CTOR_END__ - __CTOR_LIST__) / 8 - 2)
+        QUAD((__CTOR_END__ - __CTOR_LIST__) / 8 - 2)
         *(SORT_BY_NAME(.ctors))
        SORT_BY_NAME(CONSTRUCTORS)
-        LONG(0)
+        QUAD(0)
         __CTOR_END__ = .;
         }
 
   .dtors : {
         __DTOR_LIST__ = .;
-        LONG((__DTOR_END__ - __DTOR_LIST__) / 8 - 2)
+        QUAD((__DTOR_END__ - __DTOR_LIST__) / 8 - 2)
         *(SORT_BY_NAME(.dtors))
-        LONG(0)
+        QUAD(0)
         __DTOR_END__ = .;
         }
 
diff -r d64ab53cc30e extras/mini-os/arch/x86/minios-x86_64.lds
--- a/extras/mini-os/arch/x86/minios-x86_64.lds Thu May 22 16:08:17 2008 +0100
+++ b/extras/mini-os/arch/x86/minios-x86_64.lds Thu May 22 16:34:20 2008 +0100
@@ -30,18 +30,18 @@
 
   .ctors : {
         __CTOR_LIST__ = .;
-        LONG((__CTOR_END__ - __CTOR_LIST__) / 8 - 2)
+        QUAD((__CTOR_END__ - __CTOR_LIST__) / 8 - 2)
         *(SORT_BY_NAME(.ctors))
        SORT_BY_NAME(CONSTRUCTORS)
-        LONG(0)
+        QUAD(0)
         __CTOR_END__ = .;
         }
 
   .dtors : {
         __DTOR_LIST__ = .;
-        LONG((__DTOR_END__ - __DTOR_LIST__) / 8 - 2)
+        QUAD((__DTOR_END__ - __DTOR_LIST__) / 8 - 2)
         *(SORT_BY_NAME(.dtors))
-        LONG(0)
+        QUAD(0)
         __DTOR_END__ = .;
         }
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] stubdom: fix constructors/destructors in 64bit mode, Samuel Thibault <=