aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/arch
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-05-23 09:35:57 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-05-23 09:35:57 +0100
commitd18d24fd1ec106d4ea79bc0980421b2edce72089 (patch)
tree43aabf7ed4f8dd707626d46fe6c5afe7796fc2fa /extras/mini-os/arch
parent700f9d1bcf634b5a767ac17f509ffee044b57a8b (diff)
downloadxen-d18d24fd1ec106d4ea79bc0980421b2edce72089.tar.gz
xen-d18d24fd1ec106d4ea79bc0980421b2edce72089.tar.bz2
xen-d18d24fd1ec106d4ea79bc0980421b2edce72089.zip
stubdom: fix constructors/destructors in 64bit mode
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/arch')
-rw-r--r--extras/mini-os/arch/ia64/minios-ia64.lds8
-rw-r--r--extras/mini-os/arch/x86/minios-x86_64.lds8
2 files changed, 8 insertions, 8 deletions
diff --git a/extras/mini-os/arch/ia64/minios-ia64.lds b/extras/mini-os/arch/ia64/minios-ia64.lds
index 3122648969..bd9274b86c 100644
--- a/extras/mini-os/arch/ia64/minios-ia64.lds
+++ b/extras/mini-os/arch/ia64/minios-ia64.lds
@@ -54,18 +54,18 @@ SECTIONS
.ctors : {
__CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 8 - 2)
+ QUAD((__CTOR_END__ - __CTOR_LIST__) / 8 - 2)
*(SORT_BY_NAME(.ctors))
SORT_BY_NAME(CONSTRUCTORS)
- LONG(0)
+ QUAD(0)
__CTOR_END__ = .;
}
.dtors : {
__DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 8 - 2)
+ QUAD((__DTOR_END__ - __DTOR_LIST__) / 8 - 2)
*(SORT_BY_NAME(.dtors))
- LONG(0)
+ QUAD(0)
__DTOR_END__ = .;
}
diff --git a/extras/mini-os/arch/x86/minios-x86_64.lds b/extras/mini-os/arch/x86/minios-x86_64.lds
index d53d639f2f..db93e909ac 100644
--- a/extras/mini-os/arch/x86/minios-x86_64.lds
+++ b/extras/mini-os/arch/x86/minios-x86_64.lds
@@ -30,18 +30,18 @@ SECTIONS
.ctors : {
__CTOR_LIST__ = .;
- LONG((__CTOR_END__ - __CTOR_LIST__) / 8 - 2)
+ QUAD((__CTOR_END__ - __CTOR_LIST__) / 8 - 2)
*(SORT_BY_NAME(.ctors))
SORT_BY_NAME(CONSTRUCTORS)
- LONG(0)
+ QUAD(0)
__CTOR_END__ = .;
}
.dtors : {
__DTOR_LIST__ = .;
- LONG((__DTOR_END__ - __DTOR_LIST__) / 8 - 2)
+ QUAD((__DTOR_END__ - __DTOR_LIST__) / 8 - 2)
*(SORT_BY_NAME(.dtors))
- LONG(0)
+ QUAD(0)
__DTOR_END__ = .;
}