Put missing END() markers to set ELF symbol size.

This commit is contained in:
uebayasi 2014-05-23 02:34:19 +00:00
parent d6b02e86d1
commit 0d34bfa26d
48 changed files with 169 additions and 81 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: _setjmp.S,v 1.8 2005/10/05 20:18:12 christos Exp $ */
/* $NetBSD: _setjmp.S,v 1.9 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: _setjmp.S,v 1.8 2005/10/05 20:18:12 christos Exp $")
RCSID("$NetBSD: _setjmp.S,v 1.9 2014/05/23 02:34:19 uebayasi Exp $")
#endif
/*
@ -60,6 +60,7 @@ ENTRY(_setjmp)
movl %edi,20(%eax)
xorl %eax,%eax
ret
END(_setjmp)
ENTRY(_longjmp)
movl 4(%esp),%edx
@ -75,3 +76,4 @@ ENTRY(_longjmp)
incl %eax
1: movl %ecx,0(%esp)
ret
END(_longjmp)

View File

@ -1,4 +1,4 @@
/* $NetBSD: alloca.S,v 1.8 2003/08/07 16:42:06 agc Exp $ */
/* $NetBSD: alloca.S,v 1.9 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: alloca.S,v 1.8 2003/08/07 16:42:06 agc Exp $")
RCSID("$NetBSD: alloca.S,v 1.9 2014/05/23 02:34:19 uebayasi Exp $")
#endif
/* like alloc, but automatic free in return */
@ -54,3 +54,4 @@ ENTRY(alloca)
pushl 0(%ecx)
pushl %eax /* dummy to pop at callsite */
jmp *%edx /* "return" */
END(alloca)

View File

@ -1,4 +1,4 @@
/* $NetBSD: divsi3.S,v 1.6 2003/08/07 16:42:07 agc Exp $ */
/* $NetBSD: divsi3.S,v 1.7 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: divsi3.S,v 1.6 2003/08/07 16:42:07 agc Exp $")
RCSID("$NetBSD: divsi3.S,v 1.7 2014/05/23 02:34:19 uebayasi Exp $")
#endif
ENTRY(__divsi3)
@ -44,3 +44,4 @@ ENTRY(__divsi3)
cltd
idivl 8(%esp)
ret
END(__divsi3)

View File

@ -1,4 +1,4 @@
/* $NetBSD: fabs.S,v 1.5 2003/08/07 16:42:07 agc Exp $ */
/* $NetBSD: fabs.S,v 1.6 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,10 +36,11 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: fabs.S,v 1.5 2003/08/07 16:42:07 agc Exp $")
RCSID("$NetBSD: fabs.S,v 1.6 2014/05/23 02:34:19 uebayasi Exp $")
#endif
ENTRY(fabs)
fldl 4(%esp)
fabs
ret
END(fabs)

View File

@ -1,4 +1,4 @@
/* $NetBSD: fixdfsi.S,v 1.6 2003/08/07 16:42:07 agc Exp $ */
/* $NetBSD: fixdfsi.S,v 1.7 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: fixdfsi.S,v 1.6 2003/08/07 16:42:07 agc Exp $")
RCSID("$NetBSD: fixdfsi.S,v 1.7 2014/05/23 02:34:19 uebayasi Exp $")
#endif
ENTRY(__fixdfsi)
@ -44,3 +44,4 @@ ENTRY(__fixdfsi)
fistpl 4(%esp)
movl 4(%esp),%eax
ret
END(__fixdfsi)

View File

@ -1,4 +1,4 @@
/* $NetBSD: fixunsdfsi.S,v 1.13 2013/09/12 15:36:15 joerg Exp $ */
/* $NetBSD: fixunsdfsi.S,v 1.14 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: fixunsdfsi.S,v 1.13 2013/09/12 15:36:15 joerg Exp $")
RCSID("$NetBSD: fixunsdfsi.S,v 1.14 2014/05/23 02:34:19 uebayasi Exp $")
#endif
ENTRY(__fixunsdfsi)
@ -71,5 +71,6 @@ ENTRY(__fixunsdfsi)
movl 4(%esp),%eax
orl $0x80000000,%eax /* restore bias */
ret
END(__fixunsdfsi)
fbiggestsigned: .double 2147483648.0

View File

@ -1,4 +1,4 @@
/* $NetBSD: flt_rounds.S,v 1.9 2011/09/30 23:42:00 christos Exp $ */
/* $NetBSD: flt_rounds.S,v 1.10 2014/05/23 02:34:19 uebayasi Exp $ */
#include <machine/asm.h>
@ -19,3 +19,4 @@ ENTRY(__flt_rounds)
sarl %cl, %eax /* 0,1,2,3 -> 1,3,2,0 */
andl $3, %eax
ret
END(__flt_rounds)

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpgetmask.S,v 1.4 2002/01/13 21:45:42 thorpej Exp $ */
/* $NetBSD: fpgetmask.S,v 1.5 2014/05/23 02:34:19 uebayasi Exp $ */
/*
* Written by J.T. Conklin, Apr 4, 1995
@ -20,3 +20,8 @@ ENTRY(fpgetmask)
andl $63,%eax
addl $4,%esp
ret
#ifdef WEAK_ALIAS
END(_fpgetmask)
#else
END(fpgetmask)
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpgetprec.S,v 1.1 2011/03/26 19:51:41 christos Exp $ */
/* $NetBSD: fpgetprec.S,v 1.2 2014/05/23 02:34:19 uebayasi Exp $ */
/*
* Written by J.T. Conklin, Apr 4, 1995
@ -20,3 +20,8 @@ ENTRY(fpgetprec)
andl $3,%eax
addl $4,%esp
ret
#ifdef WEAK_ALIAS
END(_fpgetprec)
#else
END(fpgetprec)
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpgetround.S,v 1.6 2011/09/30 23:42:00 christos Exp $ */
/* $NetBSD: fpgetround.S,v 1.7 2014/05/23 02:34:19 uebayasi Exp $ */
/*
* Written by J.T. Conklin, Apr 4, 1995
@ -21,3 +21,8 @@ ENTRY(fpgetround)
movl -4(%esp), %eax
andl $0x00000c00, %eax
ret
#ifdef WEAK_ALIAS
END(_fpgetround)
#else
END(fpgetround)
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpgetsticky.S,v 1.6 2002/01/13 21:45:43 thorpej Exp $ */
/* $NetBSD: fpgetsticky.S,v 1.7 2014/05/23 02:34:19 uebayasi Exp $ */
/*
* Written by J.T. Conklin, Apr 4, 1995
@ -19,3 +19,8 @@ ENTRY(fpgetsticky)
andl $63,%eax
addl $4,%esp
ret
#ifdef WEAK_ALIAS
END(_fpgetsticky)
#else
END(fpgetsticky)
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpsetmask.S,v 1.4 2002/01/13 21:45:43 thorpej Exp $ */
/* $NetBSD: fpsetmask.S,v 1.5 2014/05/23 02:34:19 uebayasi Exp $ */
/*
* Written by Charles M. Hannum, Apr 9, 1995
@ -31,3 +31,8 @@ ENTRY(fpsetmask)
addl $4,%esp
ret
#ifdef WEAK_ALIAS
END(_fpsetmask)
#else
END(fpsetmask)
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpsetprec.S,v 1.1 2011/03/26 19:51:41 christos Exp $ */
/* $NetBSD: fpsetprec.S,v 1.2 2014/05/23 02:34:19 uebayasi Exp $ */
/*
* Written by Charles M. Hannum, Apr 9, 1995
@ -32,3 +32,8 @@ ENTRY(fpsetprec)
addl $4,%esp
ret
#ifdef WEAK_ALIAS
END(_fpsetprec)
#else
END(fpsetprec)
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpsetround.S,v 1.5 2011/09/30 23:45:41 christos Exp $ */
/* $NetBSD: fpsetround.S,v 1.6 2014/05/23 02:34:19 uebayasi Exp $ */
/*
* Written by Frank van der Linden at Wasabi Systems for NetBSD.
@ -31,3 +31,8 @@ ENTRY(fpsetround)
fldcw -4(%esp)
ret
#ifdef WEAK_ALIAS
END(_fpsetround)
#else
END(fpsetround)
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpsetsticky.S,v 1.6 2002/01/13 21:45:43 thorpej Exp $ */
/* $NetBSD: fpsetsticky.S,v 1.7 2014/05/23 02:34:19 uebayasi Exp $ */
/*
* Written by Charles M. Hannum, Apr 9, 1995
@ -30,3 +30,8 @@ ENTRY(fpsetsticky)
addl $28,%esp
ret
#ifdef WEAK_ALIAS
END(_fpsetsticky)
#else
END(fpsetsticky)
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: resumecontext.S,v 1.7 2013/09/12 15:36:15 joerg Exp $ */
/* $NetBSD: resumecontext.S,v 1.8 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -33,7 +33,7 @@
#include "SYS.h"
#if defined(LIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: resumecontext.S,v 1.7 2013/09/12 15:36:15 joerg Exp $")
RCSID("$NetBSD: resumecontext.S,v 1.8 2014/05/23 02:34:19 uebayasi Exp $")
#endif /* LIBC_SCCS && !lint */
/*
@ -81,3 +81,4 @@ NENTRY(_resumecontext) /* profiling prologue would clobber TOS */
pushl $-1
pushl %eax /* unused return address */
SYSTRAP(exit)
END(_resumecontext)

View File

@ -1,4 +1,4 @@
/* $NetBSD: setjmp.S,v 1.15 2013/09/12 15:36:15 joerg Exp $ */
/* $NetBSD: setjmp.S,v 1.16 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: setjmp.S,v 1.15 2013/09/12 15:36:15 joerg Exp $")
RCSID("$NetBSD: setjmp.S,v 1.16 2014/05/23 02:34:19 uebayasi Exp $")
#endif
/*
@ -107,3 +107,4 @@ ENTRY(__longjmp14)
incl %eax
1: movl %ecx,0(%esp)
ret
END(__setjmp14)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigsetjmp.S,v 1.17 2013/09/12 15:36:15 joerg Exp $ */
/* $NetBSD: sigsetjmp.S,v 1.18 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: sigsetjmp.S,v 1.17 2013/09/12 15:36:15 joerg Exp $")
RCSID("$NetBSD: sigsetjmp.S,v 1.18 2014/05/23 02:34:19 uebayasi Exp $")
#endif
ENTRY(__sigsetjmp14)
@ -72,6 +72,7 @@ ENTRY(__sigsetjmp14)
2: xorl %eax,%eax
ret
END(__sigsetjmp14)
ENTRY(__siglongjmp14)
/* Check to see if we need to restore the signal mask. */
@ -107,3 +108,4 @@ ENTRY(__siglongjmp14)
incl %eax
3: movl %ecx,0(%esp)
ret
END(__siglongjmp14)

View File

@ -1,4 +1,4 @@
/* $NetBSD: swapcontext.S,v 1.7 2013/09/12 15:36:15 joerg Exp $ */
/* $NetBSD: swapcontext.S,v 1.8 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -31,7 +31,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: swapcontext.S,v 1.7 2013/09/12 15:36:15 joerg Exp $")
RCSID("$NetBSD: swapcontext.S,v 1.8 2014/05/23 02:34:19 uebayasi Exp $")
#endif /* LIBC_SCCS && !lint */
ENTRY(swapcontext)
@ -68,3 +68,4 @@ ENTRY(swapcontext)
PIC_EPILOGUE
/* No need to error-check: setcontext() must have failed. */
2: ret
END(swapcontext)

View File

@ -1,4 +1,4 @@
/* $NetBSD: udivsi3.S,v 1.6 2003/08/07 16:42:07 agc Exp $ */
/* $NetBSD: udivsi3.S,v 1.7 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: udivsi3.S,v 1.6 2003/08/07 16:42:07 agc Exp $")
RCSID("$NetBSD: udivsi3.S,v 1.7 2014/05/23 02:34:19 uebayasi Exp $")
#endif
ENTRY(__udivsi3)
@ -44,3 +44,4 @@ ENTRY(__udivsi3)
xorl %edx,%edx
divl 8(%esp)
ret
END(__udivsi3)

View File

@ -1,4 +1,4 @@
/* $NetBSD: abs.S,v 1.7 2003/08/07 16:42:07 agc Exp $ */
/* $NetBSD: abs.S,v 1.8 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: abs.S,v 1.7 2003/08/07 16:42:07 agc Exp $")
RCSID("$NetBSD: abs.S,v 1.8 2014/05/23 02:34:19 uebayasi Exp $")
#endif
ENTRY(abs)
@ -45,3 +45,4 @@ ENTRY(abs)
jns 1f
negl %eax
1: ret
END(abs)

View File

@ -1,4 +1,4 @@
/* $NetBSD: div.S,v 1.9 2011/06/12 20:29:25 plunky Exp $ */
/* $NetBSD: div.S,v 1.10 2014/05/23 02:34:19 uebayasi Exp $ */
/*
* Written by J.T. Conklin <jtc@NetBSD.org>.
* Public domain.
@ -7,7 +7,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: div.S,v 1.9 2011/06/12 20:29:25 plunky Exp $")
RCSID("$NetBSD: div.S,v 1.10 2014/05/23 02:34:19 uebayasi Exp $")
#endif
ENTRY(div)
@ -22,3 +22,4 @@ ENTRY(div)
movl %ebx,%eax
popl %ebx
ret $4
END(div)

View File

@ -1,4 +1,4 @@
/* $NetBSD: labs.S,v 1.7 2003/08/07 16:42:07 agc Exp $ */
/* $NetBSD: labs.S,v 1.8 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: labs.S,v 1.7 2003/08/07 16:42:07 agc Exp $")
RCSID("$NetBSD: labs.S,v 1.8 2014/05/23 02:34:19 uebayasi Exp $")
#endif
ENTRY(labs)
@ -45,3 +45,4 @@ ENTRY(labs)
jns 1f
negl %eax
1: ret
END(labs)

View File

@ -1,4 +1,4 @@
/* $NetBSD: ldiv.S,v 1.9 2011/06/12 20:29:25 plunky Exp $ */
/* $NetBSD: ldiv.S,v 1.10 2014/05/23 02:34:19 uebayasi Exp $ */
/*
* Written by J.T. Conklin <jtc@NetBSD.org>.
* Public domain.
@ -7,7 +7,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: ldiv.S,v 1.9 2011/06/12 20:29:25 plunky Exp $")
RCSID("$NetBSD: ldiv.S,v 1.10 2014/05/23 02:34:19 uebayasi Exp $")
#endif
ENTRY(ldiv)
@ -22,3 +22,4 @@ ENTRY(ldiv)
movl %ebx,%eax
popl %ebx
ret $4
END(ldiv)

View File

@ -1,4 +1,4 @@
/* $NetBSD: llabs.S,v 1.5 2008/08/04 21:29:28 matt Exp $ */
/* $NetBSD: llabs.S,v 1.6 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: llabs.S,v 1.5 2008/08/04 21:29:28 matt Exp $")
RCSID("$NetBSD: llabs.S,v 1.6 2014/05/23 02:34:19 uebayasi Exp $")
#endif
#ifdef WEAK_ALIAS
@ -58,3 +58,8 @@ ENTRY(llabs)
adcl $0,%edx
negl %edx
1: ret
#ifdef WEAK_ALIAS
END(_llabs)
#else
END(llabs)
#endif

View File

@ -6,7 +6,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: bcmp.S,v 1.9 2007/11/12 18:41:59 ad Exp $")
RCSID("$NetBSD: bcmp.S,v 1.10 2014/05/23 02:34:19 uebayasi Exp $")
#endif
ENTRY(bcmp)
@ -32,3 +32,4 @@ L1: incl %eax
L2: popl %esi
popl %edi
ret
END(bcmp)

View File

@ -6,7 +6,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: strncmp.S,v 1.14 2005/08/03 22:59:50 rpaulo Exp $")
RCSID("$NetBSD: strncmp.S,v 1.15 2014/05/23 02:34:19 uebayasi Exp $")
#endif
/*
@ -114,3 +114,4 @@ L3: movzbl (%eax),%eax /* unsigned comparison */
L4: xorl %eax,%eax
popl %ebx
ret
END(strncmp)

View File

@ -6,7 +6,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: swab.S,v 1.13 2007/11/12 18:42:00 ad Exp $")
RCSID("$NetBSD: swab.S,v 1.14 2014/05/23 02:34:19 uebayasi Exp $")
#endif
/*
@ -66,3 +66,4 @@ L3: lodsw
L4: popl %edi
popl %esi
ret
END(swab)

View File

@ -1,4 +1,4 @@
/* $NetBSD: __clone.S,v 1.5 2013/09/12 15:36:15 joerg Exp $ */
/* $NetBSD: __clone.S,v 1.6 2014/05/23 02:34:19 uebayasi Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@ -101,3 +101,4 @@ ENTRY(__clone)
5:
popl %ebp
jmp CERROR
END(__clone)

View File

@ -1,4 +1,4 @@
/* $NetBSD: __sigtramp2.S,v 1.4 2008/04/28 20:22:56 martin Exp $ */
/* $NetBSD: __sigtramp2.S,v 1.5 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -50,3 +50,4 @@ NENTRY(__sigtramp_siginfo_2)
SYSTRAP(setcontext) /* do setcontext */
movl $-1,4(%esp) /* if we return here, something is wrong */
SYSTRAP(exit) /* exit */
END(__sigtramp_siginfo_2)

View File

@ -1,4 +1,4 @@
/* $NetBSD: __syscall.S,v 1.4 2011/11/18 20:21:41 joerg Exp $ */
/* $NetBSD: __syscall.S,v 1.5 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: __syscall.S,v 1.4 2011/11/18 20:21:41 joerg Exp $")
RCSID("$NetBSD: __syscall.S,v 1.5 2014/05/23 02:34:19 uebayasi Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -53,3 +53,4 @@ ENTRY(__syscall)
ret
err:
jmp CERROR
END(__syscall)

View File

@ -1,4 +1,4 @@
/* $NetBSD: __vfork14.S,v 1.9 2011/11/18 20:21:41 joerg Exp $ */
/* $NetBSD: __vfork14.S,v 1.10 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: __vfork14.S,v 1.9 2011/11/18 20:21:41 joerg Exp $")
RCSID("$NetBSD: __vfork14.S,v 1.10 2014/05/23 02:34:19 uebayasi Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -58,3 +58,4 @@ ENTRY(__vfork14)
err:
pushl %ecx
jmp CERROR
END(__vfork14)

View File

@ -1,4 +1,4 @@
/* $NetBSD: brk.S,v 1.23 2013/09/12 15:36:15 joerg Exp $ */
/* $NetBSD: brk.S,v 1.24 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: brk.S,v 1.23 2013/09/12 15:36:15 joerg Exp $")
RCSID("$NetBSD: brk.S,v 1.24 2014/05/23 02:34:19 uebayasi Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -90,3 +90,4 @@ err:
err:
jmp CERROR
#endif
END(_brk)

View File

@ -1,4 +1,4 @@
/* $NetBSD: cerror.S,v 1.17 2013/09/12 15:36:15 joerg Exp $ */
/* $NetBSD: cerror.S,v 1.18 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: cerror.S,v 1.17 2013/09/12 15:36:15 joerg Exp $")
RCSID("$NetBSD: cerror.S,v 1.18 2014/05/23 02:34:19 uebayasi Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -57,3 +57,4 @@ _ENTRY(CERROR)
movl $-1,%eax
movl $-1,%edx
ret
END(CERROR)

View File

@ -1,4 +1,4 @@
/* $NetBSD: exect.S,v 1.14 2011/11/18 20:21:41 joerg Exp $ */
/* $NetBSD: exect.S,v 1.15 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: exect.S,v 1.14 2011/11/18 20:21:41 joerg Exp $")
RCSID("$NetBSD: exect.S,v 1.15 2014/05/23 02:34:19 uebayasi Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -48,3 +48,4 @@ ENTRY(exect)
popfl
SYSTRAP(execve)
jmp CERROR
END(exect)

View File

@ -1,4 +1,4 @@
/* $NetBSD: fork.S,v 1.9 2003/08/07 16:42:09 agc Exp $ */
/* $NetBSD: fork.S,v 1.10 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: fork.S,v 1.9 2003/08/07 16:42:09 agc Exp $")
RCSID("$NetBSD: fork.S,v 1.10 2014/05/23 02:34:19 uebayasi Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -45,3 +45,4 @@ _SYSCALL(__fork,fork)
decl %edx /* from 1 to 0 in child, 0 to -1 in parent */
andl %edx,%eax
ret /* pid = fork(); */
END(__fork)

View File

@ -1,4 +1,4 @@
/* $NetBSD: getcontext.S,v 1.3 2008/04/28 20:22:56 martin Exp $ */
/* $NetBSD: getcontext.S,v 1.4 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -32,7 +32,7 @@
#include "SYS.h"
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: getcontext.S,v 1.3 2008/04/28 20:22:56 martin Exp $")
RCSID("$NetBSD: getcontext.S,v 1.4 2014/05/23 02:34:19 uebayasi Exp $")
#endif /* SYSLIBC_SCCS && !lint */
#ifdef WEAK_ALIAS
@ -48,3 +48,4 @@ _SYSCALL(_getcontext,getcontext)
movl $0,(36 + 11 * 4)(%ecx) /* Arrange for return of 0. */
xorl %eax,%eax
ret
END(_getcontext)

View File

@ -1,4 +1,4 @@
/* $NetBSD: pipe.S,v 1.6 2003/08/07 16:42:09 agc Exp $ */
/* $NetBSD: pipe.S,v 1.7 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: pipe.S,v 1.6 2003/08/07 16:42:09 agc Exp $")
RCSID("$NetBSD: pipe.S,v 1.7 2014/05/23 02:34:19 uebayasi Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -51,3 +51,4 @@ _SYSCALL(_pipe,pipe)
movl %edx,4(%ecx)
xorl %eax,%eax
ret
END(_pipe)

View File

@ -1,4 +1,4 @@
/* $NetBSD: ptrace.S,v 1.18 2013/09/12 15:36:15 joerg Exp $ */
/* $NetBSD: ptrace.S,v 1.19 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: ptrace.S,v 1.18 2013/09/12 15:36:15 joerg Exp $")
RCSID("$NetBSD: ptrace.S,v 1.19 2014/05/23 02:34:19 uebayasi Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -58,3 +58,4 @@ ENTRY(ptrace)
ret
err:
jmp CERROR
END(ptrace)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbrk.S,v 1.21 2013/09/12 15:36:15 joerg Exp $ */
/* $NetBSD: sbrk.S,v 1.22 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: sbrk.S,v 1.21 2013/09/12 15:36:15 joerg Exp $")
RCSID("$NetBSD: sbrk.S,v 1.22 2014/05/23 02:34:19 uebayasi Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -89,3 +89,4 @@ out:
err:
jmp CERROR
#endif
END(_sbrk)

View File

@ -1,4 +1,4 @@
/* $NetBSD: syscall.S,v 1.12 2011/11/18 20:21:41 joerg Exp $ */
/* $NetBSD: syscall.S,v 1.13 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: syscall.S,v 1.12 2011/11/18 20:21:41 joerg Exp $")
RCSID("$NetBSD: syscall.S,v 1.13 2014/05/23 02:34:19 uebayasi Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -51,3 +51,4 @@ ENTRY(syscall)
ret
err:
jmp CERROR
END(syscall)

View File

@ -1,4 +1,4 @@
/* $NetBSD: compat_setjmp.S,v 1.2 2013/09/12 15:36:16 joerg Exp $ */
/* $NetBSD: compat_setjmp.S,v 1.3 2014/05/23 02:34:33 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: compat_setjmp.S,v 1.2 2013/09/12 15:36:16 joerg Exp $")
RCSID("$NetBSD: compat_setjmp.S,v 1.3 2014/05/23 02:34:33 uebayasi Exp $")
#endif
/*
@ -72,6 +72,7 @@ ENTRY(setjmp)
movl %eax,24(%ecx)
xorl %eax,%eax
ret
END(setjmp)
ENTRY(longjmp)
movl 4(%esp),%edx
@ -99,3 +100,4 @@ ENTRY(longjmp)
incl %eax
1: movl %ecx,0(%esp)
ret
END(longjmp)

View File

@ -1,4 +1,4 @@
/* $NetBSD: compat_sigsetjmp.S,v 1.2 2013/09/12 15:36:16 joerg Exp $ */
/* $NetBSD: compat_sigsetjmp.S,v 1.3 2014/05/23 02:34:33 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(LIBC_SCCS)
RCSID("$NetBSD: compat_sigsetjmp.S,v 1.2 2013/09/12 15:36:16 joerg Exp $")
RCSID("$NetBSD: compat_sigsetjmp.S,v 1.3 2014/05/23 02:34:33 uebayasi Exp $")
#endif
ENTRY(sigsetjmp)
@ -67,6 +67,7 @@ ENTRY(sigsetjmp)
movl %edi,20(%ecx)
xorl %eax,%eax
ret
END(sigsetjmp)
ENTRY(siglongjmp)
movl 4(%esp),%edx
@ -96,3 +97,4 @@ ENTRY(siglongjmp)
incl %eax
3: movl %ecx,0(%esp)
ret
END(siglongjmp)

View File

@ -1,4 +1,4 @@
/* $NetBSD: compat_Ovfork.S,v 1.2 2013/09/12 15:36:16 joerg Exp $ */
/* $NetBSD: compat_Ovfork.S,v 1.3 2014/05/23 02:34:33 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: compat_Ovfork.S,v 1.2 2013/09/12 15:36:16 joerg Exp $")
RCSID("$NetBSD: compat_Ovfork.S,v 1.3 2014/05/23 02:34:33 uebayasi Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -68,3 +68,4 @@ err:
#else
jmp CERROR
#endif
END(vfork)

View File

@ -1,4 +1,4 @@
/* $NetBSD: compat___sigtramp1.S,v 1.2 2008/04/28 20:22:58 martin Exp $ */
/* $NetBSD: compat___sigtramp1.S,v 1.3 2014/05/23 02:34:33 uebayasi Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -49,3 +49,4 @@ NENTRY(__sigtramp_sigcontext_1)
SYSTRAP(compat_16___sigreturn14) /* do sigreturn */
movl %eax,4(%esp) /* error code */
SYSTRAP(exit) /* exit */
END(__sigtramp_sigcontext_1)

View File

@ -1,4 +1,4 @@
/* $NetBSD: compat_sigpending.S,v 1.1 2005/09/13 01:44:08 christos Exp $ */
/* $NetBSD: compat_sigpending.S,v 1.2 2014/05/23 02:34:33 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: compat_sigpending.S,v 1.1 2005/09/13 01:44:08 christos Exp $")
RCSID("$NetBSD: compat_sigpending.S,v 1.2 2014/05/23 02:34:33 uebayasi Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -49,3 +49,4 @@ _SYSCALL(sigpending,compat_13_sigpending13)
movl %eax,(%ecx) # store old mask
xorl %eax,%eax
ret
END(sigpending)

View File

@ -1,4 +1,4 @@
/* $NetBSD: compat_sigprocmask.S,v 1.2 2013/09/12 15:36:16 joerg Exp $ */
/* $NetBSD: compat_sigprocmask.S,v 1.3 2014/05/23 02:34:33 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: compat_sigprocmask.S,v 1.2 2013/09/12 15:36:16 joerg Exp $")
RCSID("$NetBSD: compat_sigprocmask.S,v 1.3 2014/05/23 02:34:33 uebayasi Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -71,3 +71,4 @@ err:
#else
jmp CERROR
#endif
END(sigprocmask)

View File

@ -1,4 +1,4 @@
/* $NetBSD: compat_sigsuspend.S,v 1.2 2013/09/12 15:36:16 joerg Exp $ */
/* $NetBSD: compat_sigsuspend.S,v 1.3 2014/05/23 02:34:33 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: compat_sigsuspend.S,v 1.2 2013/09/12 15:36:16 joerg Exp $")
RCSID("$NetBSD: compat_sigsuspend.S,v 1.3 2014/05/23 02:34:33 uebayasi Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -61,3 +61,4 @@ err:
#else
jmp CERROR
#endif
END(sigsuspend)