summaryrefslogtreecommitdiff
path: root/sys/arch/m68k/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-02-06 20:00:15 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-02-06 20:00:15 +0000
commit41d069be9b8a7ca5b80bf2b48aef6b8f424d468c (patch)
tree95ca960c67aec24fa75497ef1bd8c054402bd66a /sys/arch/m68k/include
parent44da7838deb798020cacb368fa3c7bd88a965413 (diff)
Check for __PIC__, not PIC, as some files in libc will only see the former.
Fixes the few TEXTREL which crept in libc.so.
Diffstat (limited to 'sys/arch/m68k/include')
-rw-r--r--sys/arch/m68k/include/asm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/m68k/include/asm.h b/sys/arch/m68k/include/asm.h
index 1290bdf1af0..98963db805b 100644
--- a/sys/arch/m68k/include/asm.h
+++ b/sys/arch/m68k/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.10 2013/02/02 13:32:06 miod Exp $ */
+/* $OpenBSD: asm.h,v 1.11 2013/02/06 20:00:14 miod Exp $ */
/* $NetBSD: asm.h,v 1.13 1997/04/24 22:49:39 thorpej Exp $ */
/*
@@ -42,7 +42,7 @@
#ifndef _M68K_ASM_H_
#define _M68K_ASM_H_
-#if defined(PIC)
+#if defined(__PIC__)
#define PIC_PLT(name) name@PLTPC
#else
#define PIC_PLT(name) name