Use ENTRY() macro (for profiling).

This commit is contained in:
mycroft 1993-06-16 19:11:37 +00:00
parent 138b0ef3ae
commit cddba95abb
3 changed files with 7 additions and 8 deletions

View File

@ -38,6 +38,8 @@
.asciz "@(#)modf.s 5.5 (Berkeley) 3/18/91"
#endif /* LIBC_SCCS and not lint */
#include <sys/asm.h>
/*
* modf(value, iptr): return fractional part of value, and stores the
* integral part into iptr (a pointer to double).
@ -47,9 +49,7 @@
*/
/* With CHOP mode on, frndint behaves as TRUNC does. Useful. */
.text
.globl _modf
_modf:
ENTRY(modf)
pushl %ebp
movl %esp,%ebp
subl $16,%esp

View File

@ -38,10 +38,11 @@
.asciz "@(#)bzero.s 5.1 (Berkeley) 4/23/90"
#endif /* LIBC_SCCS and not lint */
#include <sys/asm.h>
/* bzero (base,cnt) */
.globl _bzero
_bzero:
ENTRY(bzero)
pushl %edi
movl 8(%esp),%edi
movl 12(%esp),%ecx

View File

@ -48,9 +48,7 @@
*
*/
.set vfork,66
.globl _vfork
_vfork:
ENTRY(vfork)
popl %ecx /* my rta into ecx */
movl $vfork, %eax
LCALL(7,0)