* [PATCH] stubdom: fix constructors/destructors in 64bit mode
@ 2008-05-22 15:32 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2008-05-22 15:32 UTC (permalink / raw)
To: xen-devel
stubdom: fix constructors/destructors in 64bit mode
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
diff -r d64ab53cc30e extras/mini-os/arch/ia64/minios-ia64.lds
--- a/extras/mini-os/arch/ia64/minios-ia64.lds Thu May 22 16:08:17 2008 +0100
+++ b/extras/mini-os/arch/ia64/minios-ia64.lds Thu May 22 16:34:20 2008 +0100
@@ -54,18 +54,18 @@
.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 -r d64ab53cc30e extras/mini-os/arch/x86/minios-x86_64.lds
--- a/extras/mini-os/arch/x86/minios-x86_64.lds Thu May 22 16:08:17 2008 +0100
+++ b/extras/mini-os/arch/x86/minios-x86_64.lds Thu May 22 16:34:20 2008 +0100
@@ -30,18 +30,18 @@
.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__ = .;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-22 15:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-22 15:32 [PATCH] stubdom: fix constructors/destructors in 64bit mode Samuel Thibault
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.