diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-09-20 21:13:28 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-09-20 21:13:28 +0000 |
commit | 37360edf26ab1c037e42b9ba2130083d83aeda92 (patch) | |
tree | d9e4a190749d4ffd5a77ece78b9e40b7200bdae3 | |
parent | 6e8831ceb9e7661dfb1f4a807ef0d727770baf94 (diff) |
change PSEUDO_NOERROR so it is indeed does not set errno.
-rw-r--r-- | lib/libc/arch/powerpc/SYS.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/arch/powerpc/SYS.h b/lib/libc/arch/powerpc/SYS.h index 82df53efe55..d51ae24b978 100644 --- a/lib/libc/arch/powerpc/SYS.h +++ b/lib/libc/arch/powerpc/SYS.h @@ -1,4 +1,4 @@ -/* $OpenBSD: SYS.h,v 1.9 2001/09/20 20:52:10 millert Exp $ */ +/* $OpenBSD: SYS.h,v 1.10 2001/09/20 21:13:27 drahn Exp $ */ /*- * Copyright (c) 1994 * Andrew Cagney. All rights reserved. @@ -61,6 +61,7 @@ beqlr+ ; \ b PIC_PLT(_ASM_LABEL(cerror)) +#define PSEUDO_NOERROR_SUFFIX blr #define SUFFIX PSEUDO_SUFFIX @@ -70,11 +71,10 @@ PSEUDO_PREFIX(_thread_sys_,x,x) #define PREFIX2(x,y) ALIAS(_thread_sys_,x) \ PSEUDO_PREFIX(_thread_sys_,x,y) -/* XXX - actually sets errno */ #define PSEUDO_NOERROR(x,y) ALIAS(_thread_sys_,x) \ PSEUDO_PREFIX(_thread_sys_,x,y) ; \ sc ; \ - PSEUDO_SUFFIX + PSEUDO_NOERROR_SUFFIX #define PSEUDO(x,y) ALIAS(_thread_sys_,x) \ PSEUDO_PREFIX(_thread_sys_,x,y) ; \ |