fix so that we can compile with PIC

This commit is contained in:
christos 2008-10-19 15:22:17 +00:00
parent 8a975ad955
commit bdb5cd51ab

View File

@ -1,4 +1,4 @@
/* $NetBSD: x86_64-asm.S,v 1.1 2008/05/05 17:54:14 ad Exp $ */
/* $NetBSD: x86_64-asm.S,v 1.2 2008/10/19 15:22:17 christos Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@ -55,6 +55,6 @@ ENTRY(x86_cpuid2)
ENTRY(x86_identify)
pushq %rbx
cpuid
movl %eax,_C_LABEL(cpu_info_level)
movl %eax, PIC_GOT(_C_LABEL(cpu_info_level))
popq %rbx
ret