diff options
Diffstat (limited to 'lib/libc/arch/m88k/sys/cerror.S')
-rw-r--r-- | lib/libc/arch/m88k/sys/cerror.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/arch/m88k/sys/cerror.S b/lib/libc/arch/m88k/sys/cerror.S index 4e5d5459584..64835bdf79b 100644 --- a/lib/libc/arch/m88k/sys/cerror.S +++ b/lib/libc/arch/m88k/sys/cerror.S @@ -1,4 +1,4 @@ -/* $OpenBSD: cerror.S,v 1.7 2005/08/07 16:40:15 espie Exp $ */ +/* $OpenBSD: cerror.S,v 1.8 2011/04/04 12:42:39 guenther Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -35,8 +35,10 @@ #include "SYS.h" +WEAK_ALIAS(_C_LABEL(_cerror), _C_LABEL(__cerror)) + .globl _errno -ENTRY(_cerror) +ENTRY(__cerror) or.u r4,r0,hi16(_errno) st r2,r4,lo16(_errno) sub r2,r0,0x1 |