6348b7d5b5
_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.
13 lines
369 B
ArmAsm
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
|