summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/include/asm.h4
-rw-r--r--sys/arch/amd64/include/profile.h4
-rw-r--r--sys/arch/arm/include/profile.h4
-rw-r--r--sys/arch/i386/include/asm.h4
-rw-r--r--sys/arch/powerpc/include/asm.h4
-rw-r--r--sys/arch/sh/include/asm.h4
-rw-r--r--sys/arch/sparc/include/asm.h4
-rw-r--r--sys/arch/sparc/include/profile.h4
-rw-r--r--sys/arch/sparc64/include/asm.h4
-rw-r--r--sys/arch/sparc64/include/profile.h4
10 files changed, 20 insertions, 20 deletions
diff --git a/sys/arch/amd64/include/asm.h b/sys/arch/amd64/include/asm.h
index d9b41e9ac10..23bd1caf3b6 100644
--- a/sys/arch/amd64/include/asm.h
+++ b/sys/arch/amd64/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.3 2011/03/23 16:54:34 pirofti Exp $ */
+/* $OpenBSD: asm.h,v 1.4 2012/08/22 17:19:35 pascal Exp $ */
/* $NetBSD: asm.h,v 1.2 2003/05/02 18:05:47 yamt Exp $ */
/*-
@@ -38,7 +38,7 @@
#ifndef _MACHINE_ASM_H_
#define _MACHINE_ASM_H_
-#ifdef PIC
+#ifdef __PIC__
#define PIC_PLT(x) x@PLT
#define PIC_GOT(x) x@GOTPCREL(%rip)
#else
diff --git a/sys/arch/amd64/include/profile.h b/sys/arch/amd64/include/profile.h
index 56b984d2671..9cb638f6ad2 100644
--- a/sys/arch/amd64/include/profile.h
+++ b/sys/arch/amd64/include/profile.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: profile.h,v 1.3 2006/10/28 16:20:04 kettenis Exp $ */
+/* $OpenBSD: profile.h,v 1.4 2012/08/22 17:19:35 pascal Exp $ */
/* $NetBSD: profile.h,v 1.3 2003/11/28 23:22:45 fvdl Exp $ */
/*
@@ -34,7 +34,7 @@
#define _MCOUNT_DECL void _mcount
-#ifdef PIC
+#ifdef __PIC__
#define __MCPLT "@PLT"
#else
#define __MCPLT
diff --git a/sys/arch/arm/include/profile.h b/sys/arch/arm/include/profile.h
index 75df4f5e310..41c90f83dd2 100644
--- a/sys/arch/arm/include/profile.h
+++ b/sys/arch/arm/include/profile.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: profile.h,v 1.2 2011/09/20 22:02:13 miod Exp $ */
+/* $OpenBSD: profile.h,v 1.3 2012/08/22 17:19:35 pascal Exp $ */
/* $NetBSD: profile.h,v 1.5 2002/03/24 15:49:40 bjh21 Exp $ */
/*
@@ -41,7 +41,7 @@
#ifdef __ELF__
#define MCOUNT_ASM_NAME "__mcount"
-#ifdef PIC
+#ifdef __PIC__
#define PLTSYM "(PLT)"
#endif
#else
diff --git a/sys/arch/i386/include/asm.h b/sys/arch/i386/include/asm.h
index ce4d1de02ff..332afac5fd8 100644
--- a/sys/arch/i386/include/asm.h
+++ b/sys/arch/i386/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.11 2011/03/23 16:54:35 pirofti Exp $ */
+/* $OpenBSD: asm.h,v 1.12 2012/08/22 17:19:35 pascal Exp $ */
/* $NetBSD: asm.h,v 1.7 1994/10/27 04:15:56 cgd Exp $ */
/*-
@@ -38,7 +38,7 @@
#ifndef _MACHINE_ASM_H_
#define _MACHINE_ASM_H_
-#ifdef PIC
+#ifdef __PIC__
#define PIC_PROLOGUE \
pushl %ebx; \
call 666f; \
diff --git a/sys/arch/powerpc/include/asm.h b/sys/arch/powerpc/include/asm.h
index 14c950da7e9..305a55ef9cc 100644
--- a/sys/arch/powerpc/include/asm.h
+++ b/sys/arch/powerpc/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.8 2010/10/01 05:02:19 guenther Exp $ */
+/* $OpenBSD: asm.h,v 1.9 2012/08/22 17:19:35 pascal Exp $ */
/* $NetBSD: asm.h,v 1.1 1996/09/30 16:34:20 ws Exp $ */
/*
@@ -38,7 +38,7 @@
/* XXX */
#define TARGET_ELF
-#ifdef PIC
+#ifdef __PIC__
#define PIC_PROLOGUE XXX
#define PIC_EPILOGUE XXX
#ifdef __STDC__
diff --git a/sys/arch/sh/include/asm.h b/sys/arch/sh/include/asm.h
index 69a8103db4a..e0c4afd9d65 100644
--- a/sys/arch/sh/include/asm.h
+++ b/sys/arch/sh/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.2 2011/07/19 08:08:49 jsg Exp $ */
+/* $OpenBSD: asm.h,v 1.3 2012/08/22 17:19:35 pascal Exp $ */
/* $NetBSD: asm.h,v 1.25 2006/01/20 22:02:40 christos Exp $ */
/*-
@@ -141,7 +141,7 @@
* CALL_DATUM(function, 2b)
*/
-#ifdef PIC
+#ifdef __PIC__
#define PIC_PLT(x) x@PLT
#define PIC_GOT(x) x@GOT
diff --git a/sys/arch/sparc/include/asm.h b/sys/arch/sparc/include/asm.h
index ad4dde78929..97b770066ff 100644
--- a/sys/arch/sparc/include/asm.h
+++ b/sys/arch/sparc/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.5 2011/03/23 16:54:37 pirofti Exp $ */
+/* $OpenBSD: asm.h,v 1.6 2012/08/22 17:19:35 pascal Exp $ */
/* $NetBSD: asm.h,v 1.5 1997/07/16 15:16:43 christos Exp $ */
/*
@@ -71,7 +71,7 @@
#endif /* __ELF__ */
-#ifdef PIC
+#ifdef __PIC__
/*
* PIC_PROLOGUE() is akin to the compiler generated function prologue for
* PIC code. It leaves the address of the Global Offset Table in DEST,
diff --git a/sys/arch/sparc/include/profile.h b/sys/arch/sparc/include/profile.h
index 972b8d476f5..ad607e94c70 100644
--- a/sys/arch/sparc/include/profile.h
+++ b/sys/arch/sparc/include/profile.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: profile.h,v 1.8 2003/06/02 23:27:54 millert Exp $ */
+/* $OpenBSD: profile.h,v 1.9 2012/08/22 17:19:35 pascal Exp $ */
/* $NetBSD: profile.h,v 1.8 1997/02/01 20:56:40 mrg Exp $ */
/*
@@ -53,7 +53,7 @@
#define _MCOUNT_ENTRY "mcount"
#endif
-#ifdef PIC
+#ifdef __PIC__
/* Inline expansion of PICCY_SET() (see <machine/asm.h>). */
#define MCOUNT \
__asm__(".global " _MCOUNT_ENTRY);\
diff --git a/sys/arch/sparc64/include/asm.h b/sys/arch/sparc64/include/asm.h
index b36bd0bacaf..433a38da925 100644
--- a/sys/arch/sparc64/include/asm.h
+++ b/sys/arch/sparc64/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.5 2011/03/23 16:54:37 pirofti Exp $ */
+/* $OpenBSD: asm.h,v 1.6 2012/08/22 17:19:35 pascal Exp $ */
/* $NetBSD: asm.h,v 1.15 2000/08/02 22:24:39 eeh Exp $ */
/*
@@ -63,7 +63,7 @@
#endif
#define _ASM_LABEL(name) name
-#ifdef PIC
+#ifdef __PIC__
/*
* PIC_PROLOGUE() is akin to the compiler generated function prologue for
* PIC code. It leaves the address of the Global Offset Table in DEST,
diff --git a/sys/arch/sparc64/include/profile.h b/sys/arch/sparc64/include/profile.h
index e2a46dd7530..f59ee450f8f 100644
--- a/sys/arch/sparc64/include/profile.h
+++ b/sys/arch/sparc64/include/profile.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: profile.h,v 1.3 2003/06/02 23:27:56 millert Exp $ */
+/* $OpenBSD: profile.h,v 1.4 2012/08/22 17:19:35 pascal Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -40,7 +40,7 @@
* @(#)profile.h 8.1 (Berkeley) 6/11/93
*/
-#ifdef PIC
+#ifdef __PIC__
/* Inline expansion of PICCY_SET() (see <machine/asm.h>). */
#define MCOUNT \
__asm__(".global _mcount");\