From 37360edf26ab1c037e42b9ba2130083d83aeda92 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Thu, 20 Sep 2001 21:13:28 +0000 Subject: change PSEUDO_NOERROR so it is indeed does not set errno. --- lib/libc/arch/powerpc/SYS.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libc/arch') 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) ; \ -- cgit v1.2.3