From: "Jan Beulich" Subject: [PATCH] linux/x86-64: remove non-native entry point name Date: Tue, 12 Jun 2007 09:05:44 +0200 Message-ID: <466E61E8.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Signed-off-by: Jan Beulich Index: head-2007-05-31/arch/x86_64/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- head-2007-05-31.orig/arch/x86_64/Makefile 2007-06-05 08:05:31.0000000= 00 +0200 +++ head-2007-05-31/arch/x86_64/Makefile 2007-06-01 17:02:16.0000000= 00 +0200 @@ -81,7 +81,7 @@ PHONY +=3D bzImage bzlilo install archmrpr ifdef CONFIG_XEN CPPFLAGS :=3D -Iinclude$(if $(KBUILD_SRC),2)/asm/mach-xen $(CPPFLAGS) head-y :=3D arch/x86_64/kernel/head-xen.o arch/x86_64/kernel/head64-xen.o = arch/x86_64/kernel/init_task.o -LDFLAGS_vmlinux :=3D -e _start +LDFLAGS_vmlinux :=3D -e startup_64 boot :=3D arch/i386/boot-xen .PHONY: vmlinuz #Default target when executing "make" Index: head-2007-05-31/arch/x86_64/kernel/head-xen.S =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- head-2007-05-31.orig/arch/x86_64/kernel/head-xen.S 2007-06-05 = 08:09:43.000000000 +0200 +++ head-2007-05-31/arch/x86_64/kernel/head-xen.S 2007-06-05 = 08:10:34.000000000 +0200 @@ -27,11 +27,8 @@ =20 .section .bootstrap.text, "ax", @progbits .code64 -#define VIRT_ENTRY_OFFSET 0x0 -.org VIRT_ENTRY_OFFSET .globl startup_64 startup_64: -ENTRY(_start) movq $(init_thread_union+THREAD_SIZE-8),%rsp =20 /* rsi is pointer to startup info structure. @@ -175,7 +172,7 @@ ENTRY(empty_zero_page) .ascii ",ELF_PADDR_OFFSET=3D0x" utoh __START_KERNEL_map .ascii ",VIRT_ENTRY=3D0x" - utoh (__START_KERNEL_map + __PHYSICAL_START + VIRT_ENTRY_OF= FSET) + utoh (__START_KERNEL_map + __PHYSICAL_START) .ascii ",HYPERCALL_PAGE=3D0x" utoh (phys_hypercall_page >> PAGE_SHIFT) .ascii ",FEATURES=3Dwritable_page_tables"