diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-05-06 11:52:22 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-05-06 11:52:22 +0100 |
commit | c931e4face0ab47ea749e3e32e7734e90c57d6ba (patch) | |
tree | 28b8b61589b8e7c4226603908becb2f35b21a6f6 /xen/arch/x86/xen.lds.S | |
parent | d9998d5853e5387adffbecb69fd280d87672760d (diff) | |
download | xen-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.S | 2 |
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 |