From bdb5cd51ab25e332510544afe369320cdda308bc Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 19 Oct 2008 15:22:17 +0000 Subject: [PATCH] fix so that we can compile with PIC --- usr.sbin/cpuctl/arch/x86_64-asm.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/cpuctl/arch/x86_64-asm.S b/usr.sbin/cpuctl/arch/x86_64-asm.S index 4e6506d82743..3fd6e2522ec9 100644 --- a/usr.sbin/cpuctl/arch/x86_64-asm.S +++ b/usr.sbin/cpuctl/arch/x86_64-asm.S @@ -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