Create shared ARM source for libc, and move arm26 port over to using it.
The code is (almost) a direct copy of the current arm26 sources. It's identical to the current arm32 sources, with the following exceptions: - _C_LABEL is used on references to C labels from assembler. - Function returns in assembler have APCS-26 versions in #ifdef __APCS_26__. - It uses SoftFloat 2a rather than SoftFloat 1a. The first two of these should be inconsequential. I believe that SoftFloat 2a should work on arm32 and be backward-compatible with existing code, but this is not obviously true. For now, arm32 remains using its own bits of libc.
This commit is contained in:
parent
1b9256990d
commit
5aefcfdc06
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.92 2000/12/20 21:13:56 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.93 2000/12/29 20:13:44 bjh21 Exp $
|
||||
# @(#)Makefile 8.2 (Berkeley) 2/3/94
|
||||
#
|
||||
# All library objects contain sccsid strings by default; they may be
|
||||
@ -27,7 +27,7 @@ CPPFLAGS+= -DINET6
|
||||
#LINTFLAGS+= -w
|
||||
LINTFLAGS+=-X 272
|
||||
|
||||
ARCHSUBDIR= ${MACHINE_ARCH:C/mipse[bl]/mips/}
|
||||
ARCHSUBDIR= ${MACHINE_ARCH:C/mipse[bl]/mips/:S/arm26/arm/}
|
||||
ARCHDIR= ${.CURDIR}/arch/${ARCHSUBDIR}
|
||||
AINC= -I${ARCHDIR}
|
||||
.if defined(DESTDIR)
|
||||
|
13
lib/libc/arch/arm/Makefile.inc
Normal file
13
lib/libc/arch/arm/Makefile.inc
Normal file
@ -0,0 +1,13 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 2000/12/29 20:13:44 bjh21 Exp $
|
||||
|
||||
KMINCLUDES=
|
||||
KMSRCS=arch/arm/gen/divsi3.S arch/arm/string/memmove.S \
|
||||
arch/arm/string/memcpy.S
|
||||
|
||||
.if ${MACHINE_ARCH} == "arm26"
|
||||
# __APCS_26__ required for SYS.h stuff, which uses ${CPP} and hence doesn't
|
||||
# get the normal predefines.
|
||||
CPPFLAGS+=-DSOFTFLOAT -D__APCS_26__
|
||||
|
||||
.include <softfloat/Makefile.inc>
|
||||
.endif
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: SYS.h,v 1.1 2000/05/09 21:55:45 bjh21 Exp $ */
|
||||
/* $NetBSD: SYS.h,v 1.1 2000/12/29 20:13:45 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.2 2000/06/06 08:14:54 bjh21 Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.1 2000/12/29 20:13:45 bjh21 Exp $
|
||||
|
||||
SRCS+= alloca.S byte_swap_2.S byte_swap_4.S bswap64.c divsi3.S \
|
||||
fabs.c flt_rounds.c \
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: __setjmp14.S,v 1.2 2000/12/29 13:39:39 bjh21 Exp $ */
|
||||
/* $NetBSD: __setjmp14.S,v 1.1 2000/12/29 20:13:45 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Mark Brinicombe
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: __sigsetjmp14.S,v 1.2 2000/12/29 13:39:39 bjh21 Exp $ */
|
||||
/* $NetBSD: __sigsetjmp14.S,v 1.1 2000/12/29 20:13:46 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Mark Brinicombe
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: _setjmp.S,v 1.2 2000/12/29 13:39:39 bjh21 Exp $ */
|
||||
/* $NetBSD: _setjmp.S,v 1.1 2000/12/29 20:13:46 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Mark Brinicombe
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: alloca.S,v 1.1 2000/05/09 21:55:47 bjh21 Exp $ */
|
||||
/* $NetBSD: alloca.S,v 1.1 2000/12/29 20:13:46 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Mark Brinicombe
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: byte_swap_2.S,v 1.4 2000/12/14 20:47:26 bjh21 Exp $ */
|
||||
/* $NetBSD: byte_swap_2.S,v 1.1 2000/12/29 20:13:47 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: byte_swap_4.S,v 1.4 2000/12/14 20:47:26 bjh21 Exp $ */
|
||||
/* $NetBSD: byte_swap_4.S,v 1.1 2000/12/29 20:13:47 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: divsi3.S,v 1.1 2000/05/09 21:55:47 bjh21 Exp $ */
|
||||
/* $NetBSD: divsi3.S,v 1.1 2000/12/29 20:13:47 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
@ -37,11 +37,14 @@ ENTRY(__modsi3)
|
||||
#endif
|
||||
|
||||
L_overflow:
|
||||
#if 0 /* FIXME */
|
||||
#if !defined(_KERNEL) && !defined(_STANDALONE)
|
||||
mov r0, #8 /* SIGFPE */
|
||||
bl _C_FUNC(raise) /* raise it */
|
||||
#endif
|
||||
bl _C_LABEL(raise) /* raise it */
|
||||
mov r0, #0
|
||||
#else
|
||||
/* XXX should cause a fatal error */
|
||||
mvn r0, #0
|
||||
#endif
|
||||
#ifdef __APCS_26__
|
||||
movs pc, lr
|
||||
#else
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fabs.c,v 1.1 2000/05/09 21:55:48 bjh21 Exp $ */
|
||||
/* $NetBSD: fabs.c,v 1.1 2000/12/29 20:13:48 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Mark Brinicombe
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: flt_rounds.c,v 1.1 2000/05/09 21:55:48 bjh21 Exp $ */
|
||||
/* $NetBSD: flt_rounds.c,v 1.1 2000/12/29 20:13:48 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Mark Brinicombe
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: frexp.c,v 1.1 2000/05/09 21:55:48 bjh21 Exp $ */
|
||||
/* $NetBSD: frexp.c,v 1.1 2000/12/29 20:13:48 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -44,7 +44,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)frexp.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: frexp.c,v 1.1 2000/05/09 21:55:48 bjh21 Exp $");
|
||||
__RCSID("$NetBSD: frexp.c,v 1.1 2000/12/29 20:13:48 bjh21 Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: infinity.c,v 1.1 2000/05/09 21:55:48 bjh21 Exp $ */
|
||||
/* $NetBSD: infinity.c,v 1.1 2000/12/29 20:13:49 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Mark Brinicombe.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: isinf.c,v 1.1 2000/05/09 21:55:49 bjh21 Exp $ */
|
||||
/* $NetBSD: isinf.c,v 1.1 2000/12/29 20:13:49 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -44,7 +44,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: isinf.c,v 1.1 2000/05/09 21:55:49 bjh21 Exp $");
|
||||
__RCSID("$NetBSD: isinf.c,v 1.1 2000/12/29 20:13:49 bjh21 Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: isnan.c,v 1.1 2000/05/09 21:55:49 bjh21 Exp $ */
|
||||
/* $NetBSD: isnan.c,v 1.1 2000/12/29 20:13:49 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -44,7 +44,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: isnan.c,v 1.1 2000/05/09 21:55:49 bjh21 Exp $");
|
||||
__RCSID("$NetBSD: isnan.c,v 1.1 2000/12/29 20:13:49 bjh21 Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ldexp.c,v 1.1 2000/05/09 21:55:49 bjh21 Exp $ */
|
||||
/* $NetBSD: ldexp.c,v 1.1 2000/12/29 20:13:50 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
@ -38,7 +38,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: ldexp.c,v 1.1 2000/05/09 21:55:49 bjh21 Exp $");
|
||||
__RCSID("$NetBSD: ldexp.c,v 1.1 2000/12/29 20:13:50 bjh21 Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <sys/types.h>
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: modf.c,v 1.2 2000/06/14 06:49:03 cgd Exp $ */
|
||||
/* $NetBSD: modf.c,v 1.1 2000/12/29 20:13:50 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
|
@ -1,8 +1,8 @@
|
||||
/* $NetBSD: nanf.c,v 1.1 2000/05/09 21:55:49 bjh21 Exp $ */
|
||||
/* $NetBSD: nanf.c,v 1.1 2000/12/29 20:13:50 bjh21 Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: nanf.c,v 1.1 2000/05/09 21:55:49 bjh21 Exp $");
|
||||
__RCSID("$NetBSD: nanf.c,v 1.1 2000/12/29 20:13:50 bjh21 Exp $");
|
||||
#endif /* not lint */
|
||||
|
||||
/* nanf.c */
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: setjmp.S,v 1.2 2000/12/29 13:39:39 bjh21 Exp $ */
|
||||
/* $NetBSD: setjmp.S,v 1.1 2000/12/29 20:13:51 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Mark Brinicombe
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sigsetjmp.S,v 1.2 2000/12/29 13:39:39 bjh21 Exp $ */
|
||||
/* $NetBSD: sigsetjmp.S,v 1.1 2000/12/29 20:13:51 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Mark Brinicombe
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fpgetmask.S,v 1.1 2000/06/06 08:14:59 bjh21 Exp $ */
|
||||
/* $NetBSD: fpgetmask.S,v 1.1 2000/12/29 20:13:52 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Mark Brinicombe
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fpgetround.c,v 1.1 2000/06/06 08:15:00 bjh21 Exp $ */
|
||||
/* $NetBSD: fpgetround.c,v 1.1 2000/12/29 20:13:52 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Mark Brinicombe
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fpgetsticky.S,v 1.1 2000/06/06 08:15:00 bjh21 Exp $ */
|
||||
/* $NetBSD: fpgetsticky.S,v 1.1 2000/12/29 20:13:52 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Mark Brinicombe
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fpsetmask.S,v 1.1 2000/06/06 08:15:00 bjh21 Exp $ */
|
||||
/* $NetBSD: fpsetmask.S,v 1.1 2000/12/29 20:13:52 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Mark Brinicombe
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fpsetround.c,v 1.1 2000/06/06 08:15:00 bjh21 Exp $ */
|
||||
/* $NetBSD: fpsetround.c,v 1.1 2000/12/29 20:13:53 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Mark Brinicombe
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fpsetsticky.S,v 1.1 2000/06/06 08:15:00 bjh21 Exp $ */
|
||||
/* $NetBSD: fpsetsticky.S,v 1.1 2000/12/29 20:13:53 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Mark Brinicombe
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 2000/05/09 21:55:49 bjh21 Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.1 2000/12/29 20:13:53 bjh21 Exp $
|
||||
|
||||
# hton* and nto* functions provided by ../gen/byte_swap_*.S
|
||||
SRCS+=
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: arm-gcc.h,v 1.1 2000/06/06 08:15:00 bjh21 Exp $ */
|
||||
/* $NetBSD: arm-gcc.h,v 1.1 2000/12/29 20:13:54 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
-------------------------------------------------------------------------------
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: milieu.h,v 1.1 2000/06/06 08:15:01 bjh21 Exp $ */
|
||||
/* $NetBSD: milieu.h,v 1.1 2000/12/29 20:13:54 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
===============================================================================
|
3
lib/libc/arch/arm/stdlib/Makefile.inc
Normal file
3
lib/libc/arch/arm/stdlib/Makefile.inc
Normal file
@ -0,0 +1,3 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 2000/12/29 20:13:56 bjh21 Exp $
|
||||
|
||||
SRCS+= abs.c div.c labs.c ldiv.c llabs.c
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 2000/05/09 21:55:50 bjh21 Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.1 2000/12/29 20:13:56 bjh21 Exp $
|
||||
|
||||
SRCS+= memcpy.S _memcpy.S bcopy.S memmove.S memset.S bzero.S
|
||||
SRCS+= bcmp.c ffs.c index.c memchr.c memcmp.c \
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: _memcpy.S,v 1.2 2000/12/28 18:27:24 bjh21 Exp $ */
|
||||
/* $NetBSD: _memcpy.S,v 1.1 2000/12/29 20:13:56 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* This code is derived from software contributed to The NetBSD Foundation
|
||||
@ -61,7 +61,7 @@ ENTRY(_memcpy)
|
||||
#else
|
||||
moveq pc, lr
|
||||
#endif
|
||||
|
||||
|
||||
stmdb sp!, {r0, lr} /* memcpy() returns dest addr */
|
||||
subs r2, r2, #4
|
||||
blt Lmemcpy_fl4 /* less than 4 bytes */
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bcopy.S,v 1.3 2000/12/28 18:33:54 bjh21 Exp $ */
|
||||
/* $NetBSD: bcopy.S,v 1.1 2000/12/29 20:13:57 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bzero.S,v 1.2 2000/12/14 19:40:22 bjh21 Exp $ */
|
||||
/* $NetBSD: bzero.S,v 1.1 2000/12/29 20:13:57 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: memcpy.S,v 1.2 2000/12/14 19:40:22 bjh21 Exp $ */
|
||||
/* $NetBSD: memcpy.S,v 1.1 2000/12/29 20:13:57 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: memmove.S,v 1.2 2000/12/14 19:40:22 bjh21 Exp $ */
|
||||
/* $NetBSD: memmove.S,v 1.1 2000/12/29 20:13:57 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: memset.S,v 1.1 2000/05/09 21:55:50 bjh21 Exp $ */
|
||||
/* $NetBSD: memset.S,v 1.1 2000/12/29 20:13:59 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Mark Brinicombe.
|
||||
@ -120,7 +120,7 @@ Lmemset_lessthanfour:
|
||||
#else
|
||||
moveq pc, lr /* Zero length so exit */
|
||||
#endif
|
||||
|
||||
|
||||
cmp r2, #0x00000002
|
||||
strb r1, [r0], #0x0001 /* Set 1 byte */
|
||||
strgeb r1, [r0], #0x0001 /* Set another byte */
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: Ovfork.S,v 1.1 2000/05/09 21:55:50 bjh21 Exp $ */
|
||||
/* $NetBSD: Ovfork.S,v 1.1 2000/12/29 20:14:00 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: __semctl.S,v 1.1 2000/05/09 21:55:50 bjh21 Exp $ */
|
||||
/* $NetBSD: __semctl.S,v 1.1 2000/12/29 20:14:00 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: __sigreturn14.S,v 1.1 2000/05/09 21:55:50 bjh21 Exp $ */
|
||||
/* $NetBSD: __sigreturn14.S,v 1.1 2000/12/29 20:14:01 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
47
lib/libc/arch/arm/sys/__syscall.S
Normal file
47
lib/libc/arch/arm/sys/__syscall.S
Normal file
@ -0,0 +1,47 @@
|
||||
/* $NetBSD: __syscall.S,v 1.1 2000/12/29 20:14:01 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the University of
|
||||
* California, Berkeley and its contributors.
|
||||
* 4. Neither the name of the University nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)syscall.s 5.1 (Berkeley) 4/23/90
|
||||
*/
|
||||
|
||||
#include "SYS.h"
|
||||
|
||||
ENTRY(__syscall)
|
||||
swi SYS___syscall
|
||||
bcs cerror
|
||||
#ifdef __APCS_26__
|
||||
movs pc, lr
|
||||
#else
|
||||
mov pc, lr
|
||||
#endif
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: __vfork14.S,v 1.1 2000/05/09 21:55:50 bjh21 Exp $ */
|
||||
/* $NetBSD: __vfork14.S,v 1.1 2000/12/29 20:14:01 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: brk.S,v 1.3 2000/06/26 06:25:38 kleink Exp $ */
|
||||
/* $NetBSD: brk.S,v 1.1 2000/12/29 20:14:02 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cerror.S,v 1.1 2000/05/09 21:55:51 bjh21 Exp $ */
|
||||
/* $NetBSD: cerror.S,v 1.1 2000/12/29 20:14:02 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exect.S,v 1.1 2000/05/09 21:55:51 bjh21 Exp $ */
|
||||
/* $NetBSD: exect.S,v 1.1 2000/12/29 20:14:02 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fork.S,v 1.2 2000/06/26 06:32:56 kleink Exp $ */
|
||||
/* $NetBSD: fork.S,v 1.1 2000/12/29 20:14:02 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: msgctl.S,v 1.1 2000/05/09 21:55:51 bjh21 Exp $ */
|
||||
/* $NetBSD: msgctl.S,v 1.1 2000/12/29 20:14:03 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pipe.S,v 1.2 2000/09/28 08:38:54 kleink Exp $ */
|
||||
/* $NetBSD: pipe.S,v 1.1 2000/12/29 20:14:03 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ptrace.S,v 1.1 2000/05/09 21:55:51 bjh21 Exp $ */
|
||||
/* $NetBSD: ptrace.S,v 1.1 2000/12/29 20:14:03 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sbrk.S,v 1.3 2000/06/26 06:25:38 kleink Exp $ */
|
||||
/* $NetBSD: sbrk.S,v 1.1 2000/12/29 20:14:03 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: setlogin.S,v 1.1 2000/05/09 21:55:51 bjh21 Exp $ */
|
||||
/* $NetBSD: setlogin.S,v 1.1 2000/12/29 20:14:04 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991 The Regents of the University of California.
|
5
lib/libc/arch/arm/sys/shmat.S
Normal file
5
lib/libc/arch/arm/sys/shmat.S
Normal file
@ -0,0 +1,5 @@
|
||||
/* $NetBSD: shmat.S,v 1.1 2000/12/29 20:14:04 bjh21 Exp $ */
|
||||
|
||||
#include "SYS.h"
|
||||
|
||||
RSYSCALL(shmat)
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: shmctl.S,v 1.1 2000/05/09 21:55:51 bjh21 Exp $ */
|
||||
/* $NetBSD: shmctl.S,v 1.1 2000/12/29 20:14:04 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sigaction.S,v 1.1 2000/05/09 21:55:51 bjh21 Exp $ */
|
||||
/* $NetBSD: sigaction.S,v 1.1 2000/12/29 20:14:04 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sigpending.S,v 1.1 2000/05/09 21:55:51 bjh21 Exp $ */
|
||||
/* $NetBSD: sigpending.S,v 1.1 2000/12/29 20:14:05 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sigprocmask.S,v 1.1 2000/05/09 21:55:52 bjh21 Exp $ */
|
||||
/* $NetBSD: sigprocmask.S,v 1.1 2000/12/29 20:14:05 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sigreturn.S,v 1.1 2000/05/09 21:55:52 bjh21 Exp $ */
|
||||
/* $NetBSD: sigreturn.S,v 1.1 2000/12/29 20:14:05 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sigsuspend.S,v 1.1 2000/05/09 21:55:52 bjh21 Exp $ */
|
||||
/* $NetBSD: sigsuspend.S,v 1.1 2000/12/29 20:14:05 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: syscall.S,v 1.1 2000/05/09 21:55:52 bjh21 Exp $ */
|
||||
/* $NetBSD: syscall.S,v 1.1 2000/12/29 20:14:05 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
@ -1,9 +0,0 @@
|
||||
# $NetBSD: Makefile.inc,v 1.2 2000/06/06 08:14:49 bjh21 Exp $
|
||||
|
||||
KMINCLUDES=
|
||||
KMSRCS=arch/arm26/gen/divsi3.S arch/arm26/string/memmove.S \
|
||||
arch/arm26/string/memcpy.S
|
||||
# __APCS_26__ required for SYS.h stuff
|
||||
CPPFLAGS+=-DSOFTFLOAT -D__APCS_26__
|
||||
|
||||
.include <softfloat/Makefile.inc>
|
@ -1,3 +0,0 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 2000/05/09 21:55:49 bjh21 Exp $
|
||||
|
||||
SRCS+= abs.c div.c labs.c ldiv.c llabs.c
|
@ -1,5 +0,0 @@
|
||||
/* $NetBSD: shmat.S,v 1.1 2000/07/07 08:20:51 itohy Exp $ */
|
||||
|
||||
#include "SYS.h"
|
||||
|
||||
RSYSCALL(shmat)
|
Loading…
Reference in New Issue
Block a user