Need .type and .size here too.

This commit is contained in:
Jake Burkholder 2001-11-18 04:48:34 +00:00
parent 84a23d72a0
commit b6d97b0c52
7 changed files with 15 additions and 4 deletions

View File

@ -70,3 +70,4 @@ _SYSENTRY(brk)
1: SET(HIDENAME(curbrk), %o2, %o3)
retl
stx %o4, [%o3]
_SYSEND(brk)

View File

@ -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))

View File

@ -52,7 +52,8 @@
#include "SYS.h"
ENTRY(exect)
_SYSENTRY(exect)
mov SYS_execve, %g1
ta %xcc, ST_SYSCALL
ERROR()
_SYSEND(exect)

View File

@ -62,3 +62,4 @@ _SYSENTRY(pipe)
1: stw %o1, [%o2 + 4]
retl
clr %o0
_SYSEND(pipe)

View File

@ -60,3 +60,4 @@ _SYSENTRY(ptrace)
stw %g0, [%o0]
restore
_SYSCALL(ptrace)
_SYSEND(ptrace)

View File

@ -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)

View File

@ -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)