Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/arch/x86_64/sys/cerror.S,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/arch/x86_64/sys/cerror.S,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.5 retrieving revision 1.6 diff -u -p -r1.5 -r1.6 --- src/lib/libc/arch/x86_64/sys/cerror.S 2012/02/27 12:26:21 1.5 +++ src/lib/libc/arch/x86_64/sys/cerror.S 2013/09/12 15:36:16 1.6 @@ -1,4 +1,4 @@ -/* $NetBSD: cerror.S,v 1.5 2012/02/27 12:26:21 joerg Exp $ */ +/* $NetBSD: cerror.S,v 1.6 2013/09/12 15:36:16 joerg Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -36,7 +36,7 @@ #include #if defined(SYSLIBC_SCCS) && !defined(lint) - RCSID("$NetBSD: cerror.S,v 1.5 2012/02/27 12:26:21 joerg Exp $") + RCSID("$NetBSD: cerror.S,v 1.6 2013/09/12 15:36:16 joerg Exp $") #endif /* SYSLIBC_SCCS and not lint */ #include "SYS.h" @@ -48,11 +48,11 @@ _ENTRY(CERROR) pushq %r12 movl %eax,%edi movl %eax,%r12d -#ifdef PIC +#ifdef __PIC__ call PIC_PLT(_C_LABEL(__errno)) #else call _C_LABEL(__errno) -#endif /* PIC */ +#endif /* __PIC__ */ movl %r12d,(%rax) movq $-1,%rax popq %r12