1*54404Storek/* 2*54404Storek * Copyright (c) 1992 The Regents of the University of California. 3*54404Storek * All rights reserved. 4*54404Storek * 5*54404Storek * This software was developed by the Computer Systems Engineering group 6*54404Storek * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 7*54404Storek * contributed to Berkeley. 8*54404Storek * 9*54404Storek * %sccs.include.redist.c% 10*54404Storek * 11*54404Storek * from: $Header: cerror.s,v 1.1 92/06/25 12:56:39 torek Exp $ 12*54404Storek */ 13*54404Storek 14*54404Storek#if defined(LIBC_SCCS) && !defined(lint) 15*54404Storek .asciz "@(#)cerror.s 5.1 (Berkeley) 06/25/92" 16*54404Storek#endif /* LIBC_SCCS and not lint */ 17*54404Storek 18*54404Storek#include "DEFS.h" 19*54404Storek 20*54404Storek .globl _errno 21*54404StorekFUNC(cerror) 22*54404Storek sethi %hi(_errno), %g1 23*54404Storek st %o0, [%g1 + %lo(_errno)] 24*54404Storek retl 25*54404Storek mov -1, %o0 26