NetBSD/lib/libc/arch/powerpc/sys/sigsuspend.S
kleink 6348b7d5b5 * On architectures using ELF, and conditionally on those in transition, rename
_ASM_LABEL(cerror) and _ASM_LABEL(curbrk) to _C_LABEL(__cerror) and
_C_LABEL(__curbrk) (or their respective architecture-specific equivalents) to
avoid possible name clashes with identifiers used in user applications.
* Do the same for minbrk on all architectures to avoid a GCC-specific (and
on ELF architectures effectively useless) symbol reference renaming in MI code.
1999-01-14 22:48:18 +00:00

13 lines
369 B
ArmAsm

/* $NetBSD: sigsuspend.S,v 1.7 1999/01/14 22:48:22 kleink Exp $ */
#include "SYS.h"
WARN_REFERENCES(sigsuspend, \
"warning: reference to compatibility sigsuspend(); include <signal.h> for correct reference")
ENTRY(sigsuspend)
lwz 3,0(3) # indirect to mask arg
li 0,SYS_compat_13_sigsuspend13
sc
b PIC_PLT(_C_LABEL(__cerror)) # always terminates with EINTR