154404Storek/* 254404Storek * Copyright (c) 1992 The Regents of the University of California. 354404Storek * All rights reserved. 454404Storek * 554404Storek * This software was developed by the Computer Systems Engineering group 654404Storek * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 754404Storek * contributed to Berkeley. 854404Storek * 954404Storek * %sccs.include.redist.c% 1054404Storek * 11*54611Storek * from: $Header: cerror.s,v 1.3 92/07/02 04:17:59 torek Exp $ 1254404Storek */ 1354404Storek 1454404Storek#if defined(LIBC_SCCS) && !defined(lint) 15*54611Storek .asciz "@(#)cerror.s 5.2 (Berkeley) 07/02/92" 1654404Storek#endif /* LIBC_SCCS and not lint */ 1754404Storek 1854404Storek#include "DEFS.h" 1954404Storek 2054404Storek .globl _errno 2154404StorekFUNC(cerror) 2254404Storek sethi %hi(_errno), %g1 2354404Storek st %o0, [%g1 + %lo(_errno)] 24*54611Storek mov -1, %o0 2554404Storek retl 26*54611Storek mov -1, %o1 27