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

[Xen-changelog] [xen-unstable] [IA64] minios: Fix ctor and dtor sections.



# HG changeset patch
# User dietmar.hahn@xxxxxxxxxxxxxxxxxxx
# Date 1226910422 -3600
# Node ID cf3b9afb8568a18250faf08a0dd7c2b57bc7d3ac
# Parent  3dfe1a7c729e8821e7ffb9632b170c559b643d5b
[IA64] minios: Fix ctor and dtor sections.

Signed-off-by: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
---
 extras/mini-os/arch/ia64/minios-ia64.lds |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff -r 3dfe1a7c729e -r cf3b9afb8568 extras/mini-os/arch/ia64/minios-ia64.lds
--- a/extras/mini-os/arch/ia64/minios-ia64.lds  Mon Nov 17 09:19:45 2008 +0100
+++ b/extras/mini-os/arch/ia64/minios-ia64.lds  Mon Nov 17 09:27:02 2008 +0100
@@ -52,7 +52,8 @@ SECTIONS
   .fini_array     : { *(.fini_array) }
   PROVIDE (__fini_array_end = .);
 
-  .ctors : {
+  .ctors : AT(ADDR(.ctors) - (((5<<(61))+0x100000000) - (1 << 20)))
+       {
         __CTOR_LIST__ = .;
         QUAD((__CTOR_END__ - __CTOR_LIST__) / 8 - 2)
         *(.ctors)
@@ -61,7 +62,8 @@ SECTIONS
         __CTOR_END__ = .;
         }
 
-  .dtors : {
+  .dtors : AT(ADDR(.dtors) - (((5<<(61))+0x100000000) - (1 << 20)))
+        {
         __DTOR_LIST__ = .;
         QUAD((__DTOR_END__ - __DTOR_LIST__) / 8 - 2)
         *(.dtors)

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.