aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/xen.lds.S
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2013-02-22 10:57:40 +0000
committerIan Campbell <ian.campbell@citrix.com>2013-03-12 15:46:50 +0000
commit49cc1f0431b7ff62780fc84975302eb444edbe05 (patch)
treece6ab80008a249f489d6497cfa876ea41b0e4b44 /xen/arch/x86/xen.lds.S
parentb0583c0e64cc8bb6229c95c3304fdac2051f79b3 (diff)
downloadxen-49cc1f0431b7ff62780fc84975302eb444edbe05.tar.gz
xen-49cc1f0431b7ff62780fc84975302eb444edbe05.tar.bz2
xen-49cc1f0431b7ff62780fc84975302eb444edbe05.zip
coverage: fix on ARM
Use a list of pointers to simplify the handling of 32- vs 64-bit. Also on ARM the section name is ".init_array" and not ".ctors". Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Keir Fraser <keir@xen.org> [ ijc -- tweak whitespace per Frediano's comment ]
Diffstat (limited to 'xen/arch/x86/xen.lds.S')
-rw-r--r--xen/arch/x86/xen.lds.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/xen/arch/x86/xen.lds.S b/xen/arch/x86/xen.lds.S
index 55703896e3..d959941d36 100644
--- a/xen/arch/x86/xen.lds.S
+++ b/xen/arch/x86/xen.lds.S
@@ -110,11 +110,9 @@ SECTIONS
__trampoline_seg_stop = .;
. = ALIGN(8);
- __CTOR_LIST__ = .;
- QUAD((__CTOR_END__ - __CTOR_LIST__) / 8 - 2)
+ __ctors_start = .;
*(.ctors)
- QUAD(0)
- __CTOR_END__ = .;
+ __ctors_end = .;
} :text
. = ALIGN(32);
.init.setup : {