xref: /csrg-svn/lib/libc/hp300/sys/cerror.s (revision 61125)
141844Sbostic/*-
2*61125Sbostic * Copyright (c) 1990, 1993
3*61125Sbostic *	The Regents of the University of California.  All rights reserved.
441844Sbostic *
541844Sbostic * This code is derived from software contributed to Berkeley by
641844Sbostic * the Systems Programming Group of the University of Utah Computer
741844Sbostic * Science Department.
841844Sbostic *
941844Sbostic * %sccs.include.redist.c%
1041844Sbostic */
1141844Sbostic
1241844Sbostic#if defined(LIBC_SCCS) && !defined(lint)
13*61125Sbostic	.asciz "@(#)cerror.s	8.1 (Berkeley) 06/04/93"
1441844Sbostic#endif /* LIBC_SCCS and not lint */
1541844Sbostic
1641844Sbostic#include "SYS.h"
1741844Sbostic
1854759Smckusick	.even
1941844Sbostic	.globl	_errno
2041844Sbosticcerror:
2141844Sbostic	movl	d0,_errno
2241844Sbostic	movl	#-1,d0
2354759Smckusick	movl	#-1,d1
2441844Sbostic	rts
25