diff options
author | 2008-05-21 20:39:30 +0000 | |
---|---|---|
committer | 2008-05-21 20:39:30 +0000 | |
commit | 797f35717ce459e5d3eb5f41bf105a28c83a143e (patch) | |
tree | 5b658f6d5cb7c55c79a92dfb8669b782bfb2faef /lib/libc/arch/vax/sys | |
parent | Use _PROF_PROLOGUE insteaf of rolling our own. (diff) | |
download | wireguard-openbsd-797f35717ce459e5d3eb5f41bf105a28c83a143e.tar.xz wireguard-openbsd-797f35717ce459e5d3eb5f41bf105a28c83a143e.zip |
Use _C_LABEL when appropriate.
Diffstat (limited to 'lib/libc/arch/vax/sys')
-rw-r--r-- | lib/libc/arch/vax/sys/Ovfork.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/brk.S | 10 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/cerror.S | 8 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/exect.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/sbrk.S | 12 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/sigprocmask.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/sigsuspend.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/vax/sys/syscall.S | 4 |
8 files changed, 26 insertions, 24 deletions
diff --git a/lib/libc/arch/vax/sys/Ovfork.S b/lib/libc/arch/vax/sys/Ovfork.S index 87711f6ba1f..f2ab5a01f8a 100644 --- a/lib/libc/arch/vax/sys/Ovfork.S +++ b/lib/libc/arch/vax/sys/Ovfork.S @@ -1,4 +1,4 @@ -/* $OpenBSD: Ovfork.S,v 1.6 2005/08/07 16:40:16 espie Exp $ */ +/* $OpenBSD: Ovfork.S,v 1.7 2008/05/21 20:39:32 miod Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. @@ -59,6 +59,6 @@ here: jmp (r2) err: - movl r0,_errno + movl r0,_C_LABEL(errno) mnegl $1,r0 jmp (r2) diff --git a/lib/libc/arch/vax/sys/brk.S b/lib/libc/arch/vax/sys/brk.S index a927451e074..33d5849dbb8 100644 --- a/lib/libc/arch/vax/sys/brk.S +++ b/lib/libc/arch/vax/sys/brk.S @@ -1,4 +1,4 @@ -/* $OpenBSD: brk.S,v 1.7 2005/08/07 16:40:16 espie Exp $ */ +/* $OpenBSD: brk.S,v 1.8 2008/05/21 20:39:32 miod Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. @@ -31,11 +31,11 @@ #include "SYS.h" .globl __curbrk - .globl minbrk + .globl _C_LABEL(minbrk) ENTRY(brk, 0) - cmpl minbrk,4(ap) + cmpl _C_LABEL(minbrk),4(ap) blequ ok - movl minbrk,4(ap) + movl _C_LABEL(minbrk),4(ap) ok: chmk $ SYS_break jcs err @@ -43,4 +43,4 @@ ok: clrl r0 ret err: - jmp __cerror + jmp _C_LABEL(_cerror) diff --git a/lib/libc/arch/vax/sys/cerror.S b/lib/libc/arch/vax/sys/cerror.S index 2816bab5801..f2c9f5ec411 100644 --- a/lib/libc/arch/vax/sys/cerror.S +++ b/lib/libc/arch/vax/sys/cerror.S @@ -1,4 +1,4 @@ -/* $OpenBSD: cerror.S,v 1.6 2005/08/07 16:40:16 espie Exp $ */ +/* $OpenBSD: cerror.S,v 1.7 2008/05/21 20:39:32 miod Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. @@ -30,9 +30,9 @@ #include "SYS.h" - .globl _errno -__cerror: - movl r0,_errno + .globl _C_LABEL(errno) +_C_LABEL(_cerror): + movl r0,_C_LABEL(errno) mnegl $1,r0 mnegl $1,r1 ret diff --git a/lib/libc/arch/vax/sys/exect.S b/lib/libc/arch/vax/sys/exect.S index 1cb1af9b2d4..c4776b87c6d 100644 --- a/lib/libc/arch/vax/sys/exect.S +++ b/lib/libc/arch/vax/sys/exect.S @@ -1,4 +1,4 @@ -/* $OpenBSD: exect.S,v 1.7 2005/08/07 16:40:16 espie Exp $ */ +/* $OpenBSD: exect.S,v 1.8 2008/05/21 20:39:32 miod Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. @@ -34,4 +34,4 @@ SYSENTRY(exect) bispsw $PSL_T chmk $ SYS_execve - jmp __cerror # exect(file, argv, env) + jmp _C_LABEL(_cerror) # exect(file, argv, env) diff --git a/lib/libc/arch/vax/sys/sbrk.S b/lib/libc/arch/vax/sys/sbrk.S index d2ddcedd221..ded7c12f83f 100644 --- a/lib/libc/arch/vax/sys/sbrk.S +++ b/lib/libc/arch/vax/sys/sbrk.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sbrk.S,v 1.7 2005/08/07 16:40:16 espie Exp $ */ +/* $OpenBSD: sbrk.S,v 1.8 2008/05/21 20:39:32 miod Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. @@ -32,12 +32,14 @@ .globl _end - .globl minbrk + .globl _C_LABEL(minbrk) .globl __curbrk .data -minbrk: .long _end -__curbrk:.long _end +_C_LABEL(minbrk): + .long _end +__curbrk: + .long _end .text ENTRY(sbrk, R3) @@ -51,4 +53,4 @@ ENTRY(sbrk, R3) addl2 4(r3),__curbrk ret err: - jmp __cerror + jmp _C_LABEL(_cerror) diff --git a/lib/libc/arch/vax/sys/sigprocmask.S b/lib/libc/arch/vax/sys/sigprocmask.S index 1ee870dbf9e..388bb98fcb2 100644 --- a/lib/libc/arch/vax/sys/sigprocmask.S +++ b/lib/libc/arch/vax/sys/sigprocmask.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sigprocmask.S,v 1.7 2005/08/07 16:40:16 espie Exp $ */ +/* $OpenBSD: sigprocmask.S,v 1.8 2008/05/21 20:39:32 miod Exp $ */ /* * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -31,7 +31,7 @@ #include "SYS.h" err: - jmp __cerror + jmp _C_LABEL(_cerror) SYSENTRY(sigprocmask) tstl 8(ap) # check new sigset pointer diff --git a/lib/libc/arch/vax/sys/sigsuspend.S b/lib/libc/arch/vax/sys/sigsuspend.S index 1cbebfce64b..7f2bd086459 100644 --- a/lib/libc/arch/vax/sys/sigsuspend.S +++ b/lib/libc/arch/vax/sys/sigsuspend.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sigsuspend.S,v 1.7 2005/08/07 16:40:16 espie Exp $ */ +/* $OpenBSD: sigsuspend.S,v 1.8 2008/05/21 20:39:32 miod Exp $ */ /* * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -31,7 +31,7 @@ #include "SYS.h" err: - jmp __cerror + jmp _C_LABEL(_cerror) SYSENTRY(sigsuspend) movl *4(ap),4(ap) # indirect to mask arg diff --git a/lib/libc/arch/vax/sys/syscall.S b/lib/libc/arch/vax/sys/syscall.S index 33c8008cdd7..c9a2a6d23c7 100644 --- a/lib/libc/arch/vax/sys/syscall.S +++ b/lib/libc/arch/vax/sys/syscall.S @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall.S,v 1.7 2005/08/07 16:40:16 espie Exp $ */ +/* $OpenBSD: syscall.S,v 1.8 2008/05/21 20:39:32 miod Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. @@ -42,4 +42,4 @@ SYSENTRY(syscall) jcs 1f ret 1: - jmp __cerror + jmp _C_LABEL(_cerror) |