diff options
Diffstat (limited to 'lib/libc/arch/amd64/sys/sbrk.S')
-rw-r--r-- | lib/libc/arch/amd64/sys/sbrk.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/amd64/sys/sbrk.S b/lib/libc/arch/amd64/sys/sbrk.S index 98fceaf9e0a..e6a3bbd7d87 100644 --- a/lib/libc/arch/amd64/sys/sbrk.S +++ b/lib/libc/arch/amd64/sys/sbrk.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sbrk.S,v 1.3 2006/05/09 22:52:13 drahn Exp $ */ +/* $OpenBSD: sbrk.S,v 1.4 2012/08/22 17:19:34 pascal Exp $ */ /* $NetBSD: sbrk.S,v 1.1 2001/06/19 00:25:06 fvdl Exp $ */ /*- @@ -55,7 +55,7 @@ __curbrk: .quad _end .text SYSENTRY(_sbrk) -#ifdef PIC +#ifdef __PIC__ movq PIC_GOT(__curbrk),%rdx movslq %edi, %rax movq (%rdx),%rdi |