xref: /original-bsd/lib/libc/hp300/sys/cerror.s (revision 860e07fc)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * the Systems Programming Group of the University of Utah Computer
7 * Science Department.
8 *
9 * %sccs.include.redist.c%
10 */
11
12#if defined(LIBC_SCCS) && !defined(lint)
13	.asciz "@(#)cerror.s	5.2 (Berkeley) 07/07/92"
14#endif /* LIBC_SCCS and not lint */
15
16#include "SYS.h"
17
18	.even
19	.globl	_errno
20cerror:
21	movl	d0,_errno
22	movl	#-1,d0
23	movl	#-1,d1
24	rts
25