diff options
author | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-08-22 17:19:36 +0000 |
---|---|---|
committer | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-08-22 17:19:36 +0000 |
commit | 0b17a3ce8acce6123900b78334061ec5da7fff13 (patch) | |
tree | 899daa1fa911a22452f013b57bb5873909dd7ed4 /lib/libc/arch/hppa64/sys/brk.S | |
parent | 9e13e109aa5166fac25ad417e38996ce27251c67 (diff) |
Convert cpp | as rules in bsd.lib.mk and lib/libc/sys/Makefile.inc to pure cc
invocations. This allows us to use the compiler builtin define __PIC__ to check
for PIC/PIEness rather than passing -DPIC. Simplifies PIE work a lot.
ok matthew@, conceptually ok kurt@
Diffstat (limited to 'lib/libc/arch/hppa64/sys/brk.S')
-rw-r--r-- | lib/libc/arch/hppa64/sys/brk.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/arch/hppa64/sys/brk.S b/lib/libc/arch/hppa64/sys/brk.S index cc2bae54616..15376196eae 100644 --- a/lib/libc/arch/hppa64/sys/brk.S +++ b/lib/libc/arch/hppa64/sys/brk.S @@ -1,4 +1,4 @@ -/* $OpenBSD: brk.S,v 1.4 2011/04/21 14:12:20 jsing Exp $ */ +/* $OpenBSD: brk.S,v 1.5 2012/08/22 17:19:34 pascal Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -37,7 +37,7 @@ minbrk .long end SYSENTRY(brk) -#ifdef PIC +#ifdef __PIC__ addil LT%minbrk, %r19 ldd RT%minbrk(%r1), arg4 ldd 0(arg4), arg5 @@ -52,7 +52,7 @@ SYSENTRY(brk) SYSCALL(break) ldd HPPA_FRAME_ARG(0)(%sp), %arg0 -#ifdef PIC +#ifdef __PIC__ addil LT%__curbrk, %r19 ldd RT%__curbrk(%r1), arg4 bv %r0(%rp) |