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-ia64-devel

Re: [Xen-ia64-devel] [PATCH]minios: Fixed ctor and dtor linker warning

To: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH]minios: Fixed ctor and dtor linker warning
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Tue, 18 Nov 2008 10:36:00 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 17 Nov 2008 17:36:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200811171007.00138.dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200811171007.00138.dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
Applied, thanks.

On Mon, Nov 17, 2008 at 10:07:00AM +0100, Dietmar Hahn wrote:
> Hi,
> 
> the atteched patch fixes linker warnings.
> Thanks.
> 
> Dietmar.

> # HG changeset patch
> # User dietmar.hahn@xxxxxxxxxxxxxxxxxxx
> # Date 1226910422 -3600
> # Node ID 43f8fa6c7fd99b26c0c6ec9b237f2d98a774fc1d
> # Parent  9bc00e9716cd8c7d3fe0ffd71b28d3235fc125ac
> Fix ctor and dtor sections.
> 
> Signed-off-by: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
> 
> 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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-ia64-devel

-- 
yamahata

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

<Prev in Thread] Current Thread [Next in Thread>