diff options
author | jake <jake@FreeBSD.org> | 2001-11-18 04:48:34 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2001-11-18 04:48:34 +0000 |
commit | 7ba51fcfef58492b74acbef8341ea9080568180c (patch) | |
tree | 06906b083a1b57dbebb82a1c7eae82e921505f1e /lib | |
parent | 710eac603dc47590e3fafbdf525005df6322598c (diff) | |
download | FreeBSD-src-7ba51fcfef58492b74acbef8341ea9080568180c.zip FreeBSD-src-7ba51fcfef58492b74acbef8341ea9080568180c.tar.gz |
Need .type and .size here too.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sparc64/sys/brk.S | 1 | ||||
-rw-r--r-- | lib/libc/sparc64/sys/cerror.S | 6 | ||||
-rw-r--r-- | lib/libc/sparc64/sys/exect.S | 3 | ||||
-rw-r--r-- | lib/libc/sparc64/sys/pipe.S | 1 | ||||
-rw-r--r-- | lib/libc/sparc64/sys/ptrace.S | 1 | ||||
-rw-r--r-- | lib/libc/sparc64/sys/sbrk.S | 3 | ||||
-rw-r--r-- | lib/libc/sparc64/sys/setlogin.S | 4 |
7 files changed, 15 insertions, 4 deletions
diff --git a/lib/libc/sparc64/sys/brk.S b/lib/libc/sparc64/sys/brk.S index 738f093..39e7635 100644 --- a/lib/libc/sparc64/sys/brk.S +++ b/lib/libc/sparc64/sys/brk.S @@ -70,3 +70,4 @@ _SYSENTRY(brk) 1: SET(HIDENAME(curbrk), %o2, %o3) retl stx %o4, [%o3] +_SYSEND(brk) diff --git a/lib/libc/sparc64/sys/cerror.S b/lib/libc/sparc64/sys/cerror.S index e51f0b3..0ccdc07 100644 --- a/lib/libc/sparc64/sys/cerror.S +++ b/lib/libc/sparc64/sys/cerror.S @@ -44,8 +44,9 @@ #include "SYS.h" .text - .align 16 - .globl HIDENAME(cerror) + .align 16 + .globl HIDENAME(cerror) + .type HIDENAME(cerror),@function /* * The __error() function is thread aware. For non-threaded @@ -61,3 +62,4 @@ HIDENAME(cerror): mov -1, %i0 ret restore %g0, -1, %o1 +END(HIDENAME(cerror)) diff --git a/lib/libc/sparc64/sys/exect.S b/lib/libc/sparc64/sys/exect.S index 3078b01..34a6b3b 100644 --- a/lib/libc/sparc64/sys/exect.S +++ b/lib/libc/sparc64/sys/exect.S @@ -52,7 +52,8 @@ #include "SYS.h" -ENTRY(exect) +_SYSENTRY(exect) mov SYS_execve, %g1 ta %xcc, ST_SYSCALL ERROR() +_SYSEND(exect) diff --git a/lib/libc/sparc64/sys/pipe.S b/lib/libc/sparc64/sys/pipe.S index 2b52538..a031011 100644 --- a/lib/libc/sparc64/sys/pipe.S +++ b/lib/libc/sparc64/sys/pipe.S @@ -62,3 +62,4 @@ _SYSENTRY(pipe) 1: stw %o1, [%o2 + 4] retl clr %o0 +_SYSEND(pipe) diff --git a/lib/libc/sparc64/sys/ptrace.S b/lib/libc/sparc64/sys/ptrace.S index 7f7a9b3..cbdacf0 100644 --- a/lib/libc/sparc64/sys/ptrace.S +++ b/lib/libc/sparc64/sys/ptrace.S @@ -60,3 +60,4 @@ _SYSENTRY(ptrace) stw %g0, [%o0] restore _SYSCALL(ptrace) +_SYSEND(ptrace) diff --git a/lib/libc/sparc64/sys/sbrk.S b/lib/libc/sparc64/sys/sbrk.S index 211d54d..ffa0540 100644 --- a/lib/libc/sparc64/sys/sbrk.S +++ b/lib/libc/sparc64/sys/sbrk.S @@ -55,6 +55,8 @@ .data .globl HIDENAME(curbrk) .globl HIDENAME(minbrk) + .type HIDENAME(curbrk),@object + .type HIDENAME(minbrk),@object HIDENAME(curbrk): .xword CNAME(_end) HIDENAME(minbrk): @@ -73,3 +75,4 @@ _SYSENTRY(sbrk) ERROR() 1: retl stx %o5, [%o3] +_SYSEND(sbrk) diff --git a/lib/libc/sparc64/sys/setlogin.S b/lib/libc/sparc64/sys/setlogin.S index f05da2e..0cbbd9f 100644 --- a/lib/libc/sparc64/sys/setlogin.S +++ b/lib/libc/sparc64/sys/setlogin.S @@ -54,8 +54,10 @@ .globl CNAME(_logname_valid) /* in _getlogin() */ -SYSCALL(setlogin) +_SYSENTRY(setlogin) + _SYSCALL(setlogin) PIC_PROLOGUE(%o3, %o2) SET(CNAME(_logname_valid), %o2, %o3) retl stw %g0, [%o3] +_SYSEND(setlogin) |