From 41d069be9b8a7ca5b80bf2b48aef6b8f424d468c Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 6 Feb 2013 20:00:15 +0000 Subject: Check for __PIC__, not PIC, as some files in libc will only see the former. Fixes the few TEXTREL which crept in libc.so. --- sys/arch/m68k/include/asm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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 -- cgit v1.2.3