Commit 0f760f13 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

x86_64: Fix xen section warnings

Fix

WARNING: vmlinux.o(.data+0x99): Section mismatch: reference to .init.text:xen_start_kernel (between 'startup_xen' and 'boot_gdt_descr')
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5f3f7cc6
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <asm/boot.h> #include <asm/boot.h>
#include <xen/interface/elfnote.h> #include <xen/interface/elfnote.h>
.section .init.text
ENTRY(startup_xen) ENTRY(startup_xen)
movl %esi,xen_start_info movl %esi,xen_start_info
cld cld
...@@ -19,6 +20,7 @@ ENTRY(hypercall_page) ...@@ -19,6 +20,7 @@ ENTRY(hypercall_page)
.skip 0x1000 .skip 0x1000
.popsection .popsection
.section .text
ELFNOTE(Xen, XEN_ELFNOTE_GUEST_OS, .asciz "linux") ELFNOTE(Xen, XEN_ELFNOTE_GUEST_OS, .asciz "linux")
ELFNOTE(Xen, XEN_ELFNOTE_GUEST_VERSION, .asciz "2.6") ELFNOTE(Xen, XEN_ELFNOTE_GUEST_VERSION, .asciz "2.6")
ELFNOTE(Xen, XEN_ELFNOTE_XEN_VERSION, .asciz "xen-3.0") ELFNOTE(Xen, XEN_ELFNOTE_XEN_VERSION, .asciz "xen-3.0")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment