stubdom: fix constructors/destructors in 64bit mode

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
This commit is contained in:
Keir Fraser committed 2008-05-23 09:35:57 +01:00
1 parent 700f9d1bcf
commit d18d24fd1e
2 files changed
+8 -8

No files matched your search

+4 -4
View File
@@ -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__ = .;
}
+4 -4
View File
@@ -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__ = .;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.