|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
Re: [Xen-ia64-devel] [PATCH]minios: Fixed ctor and dtor linker warning
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
|
|
|
|
|