aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/boot/x86_64.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/boot/x86_64.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/boot/x86_64.S')
-rw-r--r--xen/arch/x86/boot/x86_64.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/xen/arch/x86/boot/x86_64.S b/xen/arch/x86/boot/x86_64.S
index 7932f8aaa9..edf7891610 100644
--- a/xen/arch/x86/boot/x86_64.S
+++ b/xen/arch/x86/boot/x86_64.S
@@ -78,7 +78,8 @@ ignore_int:
/*** DESCRIPTOR TABLES ***/
- .align 8, 0xCC
+ .data
+ .align 8
multiboot_ptr:
.long 0
@@ -95,6 +96,7 @@ idt_descr:
ENTRY(stack_start)
.quad cpu0_stack
+ .section .data.page_aligned, "aw", @progbits
.align PAGE_SIZE, 0
ENTRY(boot_cpu_gdt_table)
.quad 0x0000000000000000 /* unused */