diff options
Diffstat (limited to 'lib/libc/arch/sparc')
-rw-r--r-- | lib/libc/arch/sparc/SYS.h | 4 | ||||
-rw-r--r-- | lib/libc/arch/sparc/gen/fixunsdfsi.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/sparc/gen/modf.S | 6 | ||||
-rw-r--r-- | lib/libc/arch/sparc/gen/sigsetjmp.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/sparc/string/ffs.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/sparc/sys/brk.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/sparc/sys/cerror.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/sparc/sys/sbrk.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/sparc/sys/setlogin.S | 4 |
9 files changed, 19 insertions, 19 deletions
diff --git a/lib/libc/arch/sparc/SYS.h b/lib/libc/arch/sparc/SYS.h index e45864d4f12..f4610e88c3f 100644 --- a/lib/libc/arch/sparc/SYS.h +++ b/lib/libc/arch/sparc/SYS.h @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $OpenBSD: SYS.h,v 1.13 2003/06/02 20:18:32 millert Exp $ + * $OpenBSD: SYS.h,v 1.14 2012/08/22 17:19:35 pascal Exp $ */ #include <machine/asm.h> @@ -48,7 +48,7 @@ /* * ERROR branches to cerror. */ -#ifdef PIC +#ifdef __PIC__ #define ERROR() \ PIC_PROLOGUE(%g1,%g2); \ ld [%g1+_C_LABEL(__cerror)],%g2; jmp %g2; nop diff --git a/lib/libc/arch/sparc/gen/fixunsdfsi.S b/lib/libc/arch/sparc/gen/fixunsdfsi.S index ba5e33e4ff1..a3aff2c8779 100644 --- a/lib/libc/arch/sparc/gen/fixunsdfsi.S +++ b/lib/libc/arch/sparc/gen/fixunsdfsi.S @@ -1,4 +1,4 @@ -/* $OpenBSD: fixunsdfsi.S,v 1.6 2005/08/07 16:40:15 espie Exp $ */ +/* $OpenBSD: fixunsdfsi.S,v 1.7 2012/08/22 17:19:35 pascal Exp $ */ /* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -50,7 +50,7 @@ ENTRY(__fixunsdfsi) sub %sp, 8, %sp std %o0, [%sp + 64] ! get argument into fpu reg ldd [%sp + 64], %f0 -#ifdef PIC +#ifdef __PIC__ PICCY_SET(Lbig, %g1, %o0) ldd [%g1], %f2 #else diff --git a/lib/libc/arch/sparc/gen/modf.S b/lib/libc/arch/sparc/gen/modf.S index 8bdedf8641b..6eda1351ef4 100644 --- a/lib/libc/arch/sparc/gen/modf.S +++ b/lib/libc/arch/sparc/gen/modf.S @@ -1,4 +1,4 @@ -/* $OpenBSD: modf.S,v 1.7 2011/07/08 22:28:33 martynas Exp $ */ +/* $OpenBSD: modf.S,v 1.8 2012/08/22 17:19:35 pascal Exp $ */ /* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -92,7 +92,7 @@ ENTRY(modf) sethi %hi(0x80000000), %l1 ! sign bit andn %i0, %l1, %l0 st %l0, [%fp - 16] -#ifdef PIC +#ifdef __PIC__ PICCY_SET(Lmagic, %l0, %o7) ldd [%l0], %f2 #else @@ -173,7 +173,7 @@ Lbig: * case the integer part is the original value, and the * fractional part is 0. */ -#ifdef PIC +#ifdef __PIC__ PICCY_SET(L0, %l0, %o7) std %f0, [%i2] ! *ival = val; ldd [%l0], %f0 ! return 0.0; diff --git a/lib/libc/arch/sparc/gen/sigsetjmp.S b/lib/libc/arch/sparc/gen/sigsetjmp.S index 3891944eb58..76c1628844e 100644 --- a/lib/libc/arch/sparc/gen/sigsetjmp.S +++ b/lib/libc/arch/sparc/gen/sigsetjmp.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sigsetjmp.S,v 1.5 2005/08/07 16:40:15 espie Exp $ */ +/* $OpenBSD: sigsetjmp.S,v 1.6 2012/08/22 17:19:35 pascal Exp $ */ /* * Copyright (c) 1995 Paul Kranenburg * All rights reserved. @@ -32,7 +32,7 @@ #include "SYS.h" -#ifdef PIC +#ifdef __PIC__ ENTRY(sigsetjmp) PIC_PROLOGUE(%g1,%g2) ! %g1 = _GLOBAL_OFFSET_TABLE diff --git a/lib/libc/arch/sparc/string/ffs.S b/lib/libc/arch/sparc/string/ffs.S index eb1788a02cb..ae885d896c4 100644 --- a/lib/libc/arch/sparc/string/ffs.S +++ b/lib/libc/arch/sparc/string/ffs.S @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs.S,v 1.4 2005/08/07 16:40:15 espie Exp $ */ +/* $OpenBSD: ffs.S,v 1.5 2012/08/22 17:19:35 pascal Exp $ */ /* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -49,7 +49,7 @@ * that ffstab[0] must be -24 so that ffs(0) will return 0. */ ENTRY(ffs) -#ifdef PIC +#ifdef __PIC__ PICCY_SET(ffstab, %o2, %o5) #else set ffstab, %o2 diff --git a/lib/libc/arch/sparc/sys/brk.S b/lib/libc/arch/sparc/sys/brk.S index ea4738c4188..96dd6ef5cb0 100644 --- a/lib/libc/arch/sparc/sys/brk.S +++ b/lib/libc/arch/sparc/sys/brk.S @@ -1,4 +1,4 @@ -/* $OpenBSD: brk.S,v 1.6 2005/08/07 16:40:15 espie Exp $ */ +/* $OpenBSD: brk.S,v 1.7 2012/08/22 17:19:35 pascal Exp $ */ /* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -41,7 +41,7 @@ minbrk: .long _end ! lower brk limit; also for gmon code .text -#ifdef PIC +#ifdef __PIC__ ENTRY(brk) PIC_PROLOGUE(%o5,%o4) ld [%o5 + minbrk], %o4 diff --git a/lib/libc/arch/sparc/sys/cerror.S b/lib/libc/arch/sparc/sys/cerror.S index 613b2bf953e..8287c0bf742 100644 --- a/lib/libc/arch/sparc/sys/cerror.S +++ b/lib/libc/arch/sparc/sys/cerror.S @@ -1,4 +1,4 @@ -/* $OpenBSD: cerror.S,v 1.6 2011/04/04 12:42:39 guenther Exp $ */ +/* $OpenBSD: cerror.S,v 1.7 2012/08/22 17:19:35 pascal Exp $ */ /* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -40,7 +40,7 @@ WEAK_ALIAS(__cerror, ___cerror) FUNC(_C_LABEL(___cerror)) -#ifdef PIC +#ifdef __PIC__ ld [%g1 + _C_LABEL(errno)], %g1 st %o0, [%g1] #else diff --git a/lib/libc/arch/sparc/sys/sbrk.S b/lib/libc/arch/sparc/sys/sbrk.S index adddaf7d1b3..90bd7717247 100644 --- a/lib/libc/arch/sparc/sys/sbrk.S +++ b/lib/libc/arch/sparc/sys/sbrk.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sbrk.S,v 1.5 2005/08/07 16:40:15 espie Exp $ */ +/* $OpenBSD: sbrk.S,v 1.6 2012/08/22 17:19:35 pascal Exp $ */ /* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -42,7 +42,7 @@ __curbrk: .long _end .text ENTRY(sbrk) -#ifdef PIC +#ifdef __PIC__ PIC_PROLOGUE(%o5,%o4) ld [%o5 + __curbrk], %o2 ld [%o2], %o3 ! %o3 = old break diff --git a/lib/libc/arch/sparc/sys/setlogin.S b/lib/libc/arch/sparc/sys/setlogin.S index a03af6904d4..216df34eb1e 100644 --- a/lib/libc/arch/sparc/sys/setlogin.S +++ b/lib/libc/arch/sparc/sys/setlogin.S @@ -1,4 +1,4 @@ -/* $OpenBSD: setlogin.S,v 1.4 2005/08/07 16:40:15 espie Exp $ */ +/* $OpenBSD: setlogin.S,v 1.5 2012/08/22 17:19:35 pascal Exp $ */ /* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -37,7 +37,7 @@ .globl ___logname_valid /* in getlogin() */ SYSCALL(setlogin) -#ifdef PIC +#ifdef __PIC__ PIC_PROLOGUE(%g1,%g2) ld [%g1 + ___logname_valid], %g1 retl |