aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/xen.lds.S
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-05-06 11:52:22 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-05-06 11:52:22 +0100
commitc931e4face0ab47ea749e3e32e7734e90c57d6ba (patch)
tree28b8b61589b8e7c4226603908becb2f35b21a6f6 /xen/arch/x86/xen.lds.S
parentd9998d5853e5387adffbecb69fd280d87672760d (diff)
downloadxen-c931e4face0ab47ea749e3e32e7734e90c57d6ba.tar.gz
xen-c931e4face0ab47ea749e3e32e7734e90c57d6ba.tar.bz2
xen-c931e4face0ab47ea749e3e32e7734e90c57d6ba.zip
x86: add .data.page_aligned section
... and move page-aligned data there, instead of having random holes (to fulfill the demanded alignment) in the final image. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/arch/x86/xen.lds.S')
-rw-r--r--xen/arch/x86/xen.lds.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/arch/x86/xen.lds.S b/xen/arch/x86/xen.lds.S
index 38ba8ba3a4..20f9f2dca4 100644
--- a/xen/arch/x86/xen.lds.S
+++ b/xen/arch/x86/xen.lds.S
@@ -53,6 +53,8 @@ SECTIONS
} :text
.data : { /* Data */
+ . = ALIGN(PAGE_SIZE);
+ *(.data.page_aligned)
*(.data)
CONSTRUCTORS
} :text