summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/vax/sys
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2008-05-21 20:38:10 +0000
committermiod <miod@openbsd.org>2008-05-21 20:38:10 +0000
commit6dfc09cebe556f32777a4e0780a33918e52260f4 (patch)
treeee41c6f4ddb1aa857bfd7c0f628669076ca88e09 /lib/libc/arch/vax/sys
parentUse proper *ENTRY macros with symbolic register save masks, sprinkle (diff)
downloadwireguard-openbsd-6dfc09cebe556f32777a4e0780a33918e52260f4.tar.xz
wireguard-openbsd-6dfc09cebe556f32777a4e0780a33918e52260f4.zip
Use _PROF_PROLOGUE insteaf of rolling our own.
Diffstat (limited to 'lib/libc/arch/vax/sys')
-rw-r--r--lib/libc/arch/vax/sys/sigreturn.S10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/arch/vax/sys/sigreturn.S b/lib/libc/arch/vax/sys/sigreturn.S
index 112f0fa351d..1402dec07c7 100644
--- a/lib/libc/arch/vax/sys/sigreturn.S
+++ b/lib/libc/arch/vax/sys/sigreturn.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: sigreturn.S,v 1.6 2005/08/07 16:40:16 espie Exp $ */
+/* $OpenBSD: sigreturn.S,v 1.7 2008/05/21 20:38:10 miod Exp $ */
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -35,9 +35,11 @@
*/
#ifdef PROF
#undef ENTRY
-#define ENTRY(x, y) \
- .globl _ ## x; .align 2; _ ## x ## : .word 0; pushr $0x3f; \
- .data; 1:; .long 0; .text; moval 1b,r0; jsb mcount; popr $0x3f;
+#define ENTRY(x, y) \
+ _ENTRY(_C_LABEL(x), 0); \
+ pushr $0x3f; \
+ _PROF_PROLOGUE; \
+ popr $0x3f
#endif /* PROF */
SYSCALL(sigreturn)