summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2002-11-23 06:19:26 +0000
committerdrahn <drahn@openbsd.org>2002-11-23 06:19:26 +0000
commite55fce6d602907c5ef2f87d5296617ac69740fdf (patch)
tree00fb646da3d78be79aeb00662d0ecc43bc7aa1d7
parentmissing prototype, remember to use sa_family_t for af (diff)
downloadwireguard-openbsd-e55fce6d602907c5ef2f87d5296617ac69740fdf.tar.xz
wireguard-openbsd-e55fce6d602907c5ef2f87d5296617ac69740fdf.zip
clean up comments.
-rw-r--r--libexec/ld.so/sparc64/ldasm.S18
1 files changed, 9 insertions, 9 deletions
diff --git a/libexec/ld.so/sparc64/ldasm.S b/libexec/ld.so/sparc64/ldasm.S
index 5ff2cb99661..574f065c1ea 100644
--- a/libexec/ld.so/sparc64/ldasm.S
+++ b/libexec/ld.so/sparc64/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.14 2002/10/21 16:01:55 drahn Exp $ */
+/* $OpenBSD: ldasm.S,v 1.15 2002/11/23 06:19:26 drahn Exp $ */
/* $NetBSD: rtld_start.S,v 1.5 2001/08/14 22:17:48 eeh Exp $ */
/*
@@ -241,11 +241,11 @@ _dl_exit:
.global _dl_issetugid
.type _dl_issetugid,@function
_dl_issetugid:
- mov SYS_issetugid | SYSCALL_G2RFLAG, %g1
- add %o7, 8, %g2
- t ST_SYSCALL
+ mov SYS_issetugid | SYSCALL_G2RFLAG, %g1 ! call sys_issetugid
+ add %o7, 8, %g2 ! just return on success
+ t ST_SYSCALL ! off to wonderland
retl
- sub %g0, %o0, %o0
+ sub %g0, %o0, %o0 ! error: result = -errno
.section ".text"
@@ -253,7 +253,7 @@ _dl_issetugid:
.global _dl__syscall
.type _dl__syscall,@function
_dl__syscall:
- mov SYS___syscall | SYSCALL_G2RFLAG, %g1 ! call sys_exit
+ mov SYS___syscall | SYSCALL_G2RFLAG, %g1 ! call sys___syscall
add %o7, 8, %g2 ! just return on success
t ST_SYSCALL ! off to wonderland
retl
@@ -265,7 +265,7 @@ _dl__syscall:
.global _dl_munmap
.type _dl_munmap,@function
_dl_munmap:
- mov SYS_munmap | SYSCALL_G2RFLAG, %g1 ! calling sys_mmap
+ mov SYS_munmap | SYSCALL_G2RFLAG, %g1 ! calling sys_munmap
add %o7, 8, %g2 ! just return on success
t ST_SYSCALL ! off to wonderland
retl
@@ -349,7 +349,7 @@ _dl_fstat:
.globl _dl_fcntl
.type _dl_fcntl,@function
_dl_fcntl:
- mov SYS_fcntl | SYSCALL_G2RFLAG, %g1 ! call sys_fstat
+ mov SYS_fcntl | SYSCALL_G2RFLAG, %g1 ! call sys_fcntl
add %o7, 8, %g2 ! just return on success
t ST_SYSCALL ! off to wonderland
retl
@@ -361,7 +361,7 @@ _dl_fcntl:
.globl _dl_getdirentries
.type _dl_getdirentries,@function
_dl_getdirentries:
- mov SYS_getdirentries | SYSCALL_G2RFLAG, %g1 ! call sys_fstat
+ mov SYS_getdirentries | SYSCALL_G2RFLAG, %g1 ! call sys_getdirentries
add %o7, 8, %g2 ! just return on success
t ST_SYSCALL ! off to wonderland
retl