diff options
author | dietmar.hahn@fujitsu-siemens.com <dietmar.hahn@fujitsu-siemens.com> | 2008-11-17 09:27:02 +0100 |
---|---|---|
committer | dietmar.hahn@fujitsu-siemens.com <dietmar.hahn@fujitsu-siemens.com> | 2008-11-17 09:27:02 +0100 |
commit | 21b91e54b15e7bc37cf0581e2e43d6d32bf8d662 (patch) | |
tree | ad77822d5150b791729073d33c83d2c0c377df19 /extras | |
parent | 377d0a03ff772beed2f234791814959bbaf4e244 (diff) | |
download | xen-21b91e54b15e7bc37cf0581e2e43d6d32bf8d662.tar.gz xen-21b91e54b15e7bc37cf0581e2e43d6d32bf8d662.tar.bz2 xen-21b91e54b15e7bc37cf0581e2e43d6d32bf8d662.zip |
[IA64] minios: Fix ctor and dtor sections.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
Diffstat (limited to 'extras')
-rw-r--r-- | extras/mini-os/arch/ia64/minios-ia64.lds | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extras/mini-os/arch/ia64/minios-ia64.lds b/extras/mini-os/arch/ia64/minios-ia64.lds index df616c8a50..8b54c0f394 100644 --- a/extras/mini-os/arch/ia64/minios-ia64.lds +++ b/extras/mini-os/arch/ia64/minios-ia64.lds @@ -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) |