summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authord <d@openbsd.org>2000-01-06 10:41:58 +0000
committerd <d@openbsd.org>2000-01-06 10:41:58 +0000
commit8ea2090c8b937ba9607d2dabff1bb1a5f257d774 (patch)
treed07736dbf11d6861d60084d5894c9e50c7cfebc5 /lib
parentwell. that wasnt tested very well. (diff)
downloadwireguard-openbsd-8ea2090c8b937ba9607d2dabff1bb1a5f257d774.tar.xz
wireguard-openbsd-8ea2090c8b937ba9607d2dabff1bb1a5f257d774.zip
okay then, don't use _C_LABEL. redefine _PROF_PROLOGUE which seems a lot saner
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/arch/i386/sys/sigreturn.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/arch/i386/sys/sigreturn.S b/lib/libc/arch/i386/sys/sigreturn.S
index 82a5ec68907..d5b4a713914 100644
--- a/lib/libc/arch/i386/sys/sigreturn.S
+++ b/lib/libc/arch/i386/sys/sigreturn.S
@@ -38,16 +38,16 @@
#if defined(SYSLIBC_SCCS)
.text
- .asciz "$OpenBSD: sigreturn.S,v 1.3 2000/01/06 08:49:46 d Exp $"
+ .asciz "$OpenBSD: sigreturn.S,v 1.4 2000/01/06 10:41:58 d Exp $"
#endif /* SYSLIBC_SCCS */
/*
* We must preserve the state of the registers as the user has set them up.
*/
#ifdef PROF
-#undef ENTRY
-#define ENTRY(x) \
- .globl _C_LABEL(x); .align 2; _C_LABEL(x): pusha ; \
+#undef _PROF_PROLOGUE
+#define _PROF_PROLOGUE \
+ pusha; \
.data; 1:; .long 0; .text; movl $1b,%eax; call mcount; popa ; nop
#endif /* PROF */