Hi,

the atteched patch fixes linker warnings.
Thanks.

Dietmar.
# HG changeset patch
# User [EMAIL PROTECTED]
# Date 1226910422 -3600
# Node ID 43f8fa6c7fd99b26c0c6ec9b237f2d98a774fc1d
# Parent  9bc00e9716cd8c7d3fe0ffd71b28d3235fc125ac
Fix ctor and dtor sections.

Signed-off-by: Dietmar Hahn <[EMAIL PROTECTED]>

diff -r 9bc00e9716cd -r 43f8fa6c7fd9 extras/mini-os/arch/ia64/minios-ia64.lds
--- a/extras/mini-os/arch/ia64/minios-ia64.lds	Fri Nov 07 19:34:59 2008 +0900
+++ 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-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel

Reply via email to