Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/arm32 Remove arm32-specific files from libc. ...
details: https://anonhg.NetBSD.org/src/rev/1eceaf943927
branches: trunk
changeset: 507108:1eceaf943927
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Tue Mar 13 19:31:36 2001 +0000
description:
Remove arm32-specific files from libc. NetBSD/arm32 now uses the generic
ARM sources in lib/libc/arch/arm.
diffstat:
lib/libc/arch/arm32/Makefile.inc | 7 -
lib/libc/arch/arm32/SYS.h | 78 -
lib/libc/arch/arm32/fplib/Makefile.inc | 23 -
lib/libc/arch/arm32/fplib/arm-gcc.h | 79 -
lib/libc/arch/arm32/fplib/environment.h | 63 -
lib/libc/arch/arm32/fplib/fplib_glue.S | 159 -
lib/libc/arch/arm32/fplib/fplib_libc.c | 86 -
lib/libc/arch/arm32/fplib/softfloat-macros.h | 754 ------
lib/libc/arch/arm32/fplib/softfloat-specialize.h | 173 -
lib/libc/arch/arm32/fplib/softfloat.c | 2505 ----------------------
lib/libc/arch/arm32/fplib/softfloat.h | 166 -
lib/libc/arch/arm32/gen/Makefile.inc | 13 -
lib/libc/arch/arm32/gen/__setjmp14.S | 122 -
lib/libc/arch/arm32/gen/__sigsetjmp14.S | 61 -
lib/libc/arch/arm32/gen/_setjmp.S | 106 -
lib/libc/arch/arm32/gen/alloca.S | 44 -
lib/libc/arch/arm32/gen/byte_swap_2.S | 48 -
lib/libc/arch/arm32/gen/byte_swap_4.S | 49 -
lib/libc/arch/arm32/gen/divsi3.S | 377 ---
lib/libc/arch/arm32/gen/fabs.c | 48 -
lib/libc/arch/arm32/gen/flt_rounds.c | 76 -
lib/libc/arch/arm32/gen/fpgetmask.S | 50 -
lib/libc/arch/arm32/gen/fpgetround.c | 64 -
lib/libc/arch/arm32/gen/fpgetsticky.S | 49 -
lib/libc/arch/arm32/gen/fpsetmask.S | 53 -
lib/libc/arch/arm32/gen/fpsetround.c | 71 -
lib/libc/arch/arm32/gen/fpsetsticky.S | 53 -
lib/libc/arch/arm32/gen/frexp.c | 86 -
lib/libc/arch/arm32/gen/infinity.c | 38 -
lib/libc/arch/arm32/gen/isinf.c | 68 -
lib/libc/arch/arm32/gen/isnan.c | 68 -
lib/libc/arch/arm32/gen/ldexp.c | 154 -
lib/libc/arch/arm32/gen/modf.c | 104 -
lib/libc/arch/arm32/gen/nanf.c | 13 -
lib/libc/arch/arm32/gen/setjmp.S | 129 -
lib/libc/arch/arm32/gen/sigsetjmp.S | 61 -
lib/libc/arch/arm32/net/Makefile.inc | 4 -
lib/libc/arch/arm32/stdlib/Makefile.inc | 3 -
lib/libc/arch/arm32/string/Makefile.inc | 8 -
lib/libc/arch/arm32/string/_memcpy.S | 469 ----
lib/libc/arch/arm32/string/bcopy.S | 48 -
lib/libc/arch/arm32/string/bzero.S | 44 -
lib/libc/arch/arm32/string/memcpy.S | 44 -
lib/libc/arch/arm32/string/memmove.S | 44 -
lib/libc/arch/arm32/string/memset.S | 126 -
lib/libc/arch/arm32/sys/Ovfork.S | 55 -
lib/libc/arch/arm32/sys/__semctl.S | 42 -
lib/libc/arch/arm32/sys/__sigreturn14.S | 45 -
lib/libc/arch/arm32/sys/__syscall.S | 43 -
lib/libc/arch/arm32/sys/__vfork14.S | 52 -
lib/libc/arch/arm32/sys/brk.S | 102 -
lib/libc/arch/arm32/sys/cerror.S | 75 -
lib/libc/arch/arm32/sys/exect.S | 43 -
lib/libc/arch/arm32/sys/fork.S | 47 -
lib/libc/arch/arm32/sys/msgctl.S | 45 -
lib/libc/arch/arm32/sys/pipe.S | 51 -
lib/libc/arch/arm32/sys/ptrace.S | 77 -
lib/libc/arch/arm32/sys/sbrk.S | 90 -
lib/libc/arch/arm32/sys/setlogin.S | 64 -
lib/libc/arch/arm32/sys/shmat.S | 5 -
lib/libc/arch/arm32/sys/shmctl.S | 45 -
lib/libc/arch/arm32/sys/sigaction.S | 45 -
lib/libc/arch/arm32/sys/sigpending.S | 49 -
lib/libc/arch/arm32/sys/sigprocmask.S | 53 -
lib/libc/arch/arm32/sys/sigreturn.S | 47 -
lib/libc/arch/arm32/sys/sigsuspend.S | 48 -
lib/libc/arch/arm32/sys/syscall.S | 43 -
67 files changed, 0 insertions(+), 8054 deletions(-)
diffs (truncated from 8322 to 300 lines):
diff -r 5a018f62f295 -r 1eceaf943927 lib/libc/arch/arm32/Makefile.inc
--- a/lib/libc/arch/arm32/Makefile.inc Tue Mar 13 18:47:19 2001 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-# $NetBSD: Makefile.inc,v 1.10 2000/12/13 07:44:34 matt Exp $
-
-KMINCLUDES=
-KMSRCS=arch/arm32/gen/divsi3.S
-CPPFLAGS+=-DSOFTFLOAT
-
-.include <fplib/Makefile.inc>
diff -r 5a018f62f295 -r 1eceaf943927 lib/libc/arch/arm32/SYS.h
--- a/lib/libc/arch/arm32/SYS.h Tue Mar 13 18:47:19 2001 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-/* $NetBSD: SYS.h,v 1.6 1997/10/05 23:58:24 mark Exp $ */
-
-/*-
- * Copyright (c) 1990 The Regents of the University of California.
- * All rights reserved.
- *
- * This code is derived from software contributed to Berkeley by
- * William Jolitz.
- *
- * 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: @(#)SYS.h 5.5 (Berkeley) 5/7/91
- */
-
-#include <machine/asm.h>
-#include <sys/syscall.h>
-
-#ifdef __STDC__
-#define SYSTRAP(x) swi SYS_ ## x
-#else
-#define SYSTRAP(x) swi SYS_/**/x
-#endif
-
-#define _SYSCALL_NOERROR(x,y) \
- ENTRY(x); \
- SYSTRAP(y)
-
-#define _SYSCALL(x, y) \
- _SYSCALL_NOERROR(x,y); \
- bcs cerror
-
-#define SYSCALL_NOERROR(x) \
- _SYSCALL_NOERROR(x,x)
-
-#define SYSCALL(x) \
- _SYSCALL(x,x)
-
-#define PSEUDO_NOERROR(x,y) \
- _SYSCALL_NOERROR(x,y); \
- mov r15, r14
-
-#define PSEUDO(x,y) \
- _SYSCALL(x,y); \
- mov r15, r14
-
-#define RSYSCALL_NOERROR(x) \
- PSEUDO_NOERROR(x,x)
-
-#define RSYSCALL(x) \
- PSEUDO(x,x)
-
- .globl cerror
diff -r 5a018f62f295 -r 1eceaf943927 lib/libc/arch/arm32/fplib/Makefile.inc
--- a/lib/libc/arch/arm32/fplib/Makefile.inc Tue Mar 13 18:47:19 2001 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-# $NetBSD: Makefile.inc,v 1.5 1998/01/22 20:05:20 cgd Exp $
-
-.PATH: ${.CURDIR}/arch/arm32/fplib
-
-SRCS+=fplib_glue.S fplib_libc.c softfloat.c
-
-softfloat.o: softfloat.c
- @echo ${COMPILE.c:Q} -freg-struct-return ${.IMPSRC}
- @${COMPILE.c} -freg-struct-return ${.IMPSRC} -o ${.TARGET}.o
- @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
- @rm -f ${.TARGET}.o
-
-softfloat.po: softfloat.c
- @echo ${COMPILE.c:Q} -pg -freg-struct-return ${.IMPSRC} -o ${.TARGET}
- @${COMPILE.c} -pg -freg-struct-return ${.IMPSRC} -o ${.TARGET}.o
- @${LD} -X -r ${.TARGET}.o -o ${.TARGET}
- @rm -f ${.TARGET}.o
-
-softfloat.so: softfloat.c
- @echo ${COMPILE.c:Q} ${CPICFLAGS} -freg-struct-return ${.IMPSRC} -o ${.TARGET}
- @${COMPILE.c} ${CPICFLAGS} -freg-struct-return ${.IMPSRC} -o ${.TARGET}.o
- @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
- @rm -f ${.TARGET}.o
diff -r 5a018f62f295 -r 1eceaf943927 lib/libc/arch/arm32/fplib/arm-gcc.h
--- a/lib/libc/arch/arm32/fplib/arm-gcc.h Tue Mar 13 18:47:19 2001 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-/* $NetBSD: arm-gcc.h,v 1.2 1998/01/06 00:06:10 perry Exp $ */
-
-/*
--------------------------------------------------------------------------------
-One of either `BIGENDIAN' or `LITTLEENDIAN' must be defined.
--------------------------------------------------------------------------------
-*/
-#define LITTLEENDIAN
-
-/*
--------------------------------------------------------------------------------
-`BIT64' can be defined to indicate that 64-bit integer types are supported
-by the compiler.
--------------------------------------------------------------------------------
-*/
-#define BITS64
-
-/*
--------------------------------------------------------------------------------
-Each of the following `typedef's defines the most convenient type that holds
-integers of at least as many bits as specified. For example, `uint8' should
-be the most convenient type that can hold unsigned integers of as many as
-8 bits. The `flag' type must be able to hold either a 0 or 1. For most
-implementations of C, `flag', `uint8', and `int8' should all be `typedef'ed
-to the same as `int'.
--------------------------------------------------------------------------------
-*/
-typedef char flag;
-typedef unsigned char uint8;
-typedef signed char int8;
-typedef int uint16;
-typedef int int16;
-typedef unsigned int uint32;
-typedef signed int int32;
-#ifdef BITS64
-typedef unsigned long long int bits64;
-typedef signed long long int sbits64;
-#endif
-
-/*
--------------------------------------------------------------------------------
-Each of the following `typedef's defines a type that holds integers
-of _exactly_ the number of bits specified. For instance, for most
-implementation of C, `bits16' and `sbits16' should be `typedef'ed to
-`unsigned short int' and `signed short int' (or `short int'), respectively.
--------------------------------------------------------------------------------
-*/
-typedef unsigned char bits8;
-typedef signed char sbits8;
-typedef unsigned short int bits16;
-typedef signed short int sbits16;
-typedef unsigned int bits32;
-typedef signed int sbits32;
-#ifdef BITS64
-typedef unsigned long long int uint64;
-typedef signed long long int int64;
-#endif
-
-
-/*
- * Macros to define functions with the GCC expected names
- */
-
-#define float32_add __addsf3
-#define float64_add __adddf3
-#define float32_sub __subsf3
-#define float64_sub __subdf3
-#define float32_mul __mulsf3
-#define float64_mul __muldf3
-#define float32_div __divsf3
-#define float64_div __divdf3
-#define int32_to_float32 __floatsisf
-#define int32_to_float64 __floatsidf
-#define float32_to_int32_round_to_zero __fixsfsi
-#define float64_to_int32_round_to_zero __fixdfsi
-#define float32_to_uint32_round_to_zero __fixunssfsi
-#define float64_to_uint32_round_to_zero __fixunsdfsi
-#define float32_to_float64 __extendsfdf2
-#define float64_to_float32 __truncdfsf2
diff -r 5a018f62f295 -r 1eceaf943927 lib/libc/arch/arm32/fplib/environment.h
--- a/lib/libc/arch/arm32/fplib/environment.h Tue Mar 13 18:47:19 2001 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-/* $NetBSD: environment.h,v 1.5 1999/05/06 13:56:28 kleink Exp $ */
-
-/*
-===============================================================================
-
-This C header file is part of the SoftFloat IEC/IEEE Floating-point
-Arithmetic Package, Release 1a.
-
-Written by John R. Hauser. This work was made possible by the International
-Computer Science Institute, located at Suite 600, 1947 Center Street,
-Berkeley, California 94704. Funding was provided in part by the National
-Science Foundation under grant MIP-9311980. The original version of
-this code was written as part of a project to build a fixed-point vector
-processor in collaboration with the University of California at Berkeley,
-overseen by Profs. Nelson Morgan and John Wawrzynek. More information
-is available through the web page `http://www.cs.berkeley.edu/~jhauser/
-softfloat.html'.
-
-THIS PACKAGE IS DISTRIBUTED AS IS, FOR FREE. Although reasonable effort has
-been made to avoid it, THIS PACKAGE MAY CONTAIN FAULTS THAT WILL AT TIMES
-RESULT IN INCORRECT BEHAVIOR. USE OF THIS PACKAGE IS RESTRICTED TO PERSONS
-AND ORGANIZATIONS WHO CAN AND WILL TAKE FULL RESPONSIBILITY FOR ANY AND ALL
-LOSSES, COSTS, OR OTHER PROBLEMS ARISING FROM ITS USE.
-
-Derivative works are acceptable, even for commercial purposes, so long as
-(1) they include prominent notice that the work is derivative, and (2) they
-include prominent notice akin to these three paragraphs for those parts of
-this code that are retained.
-
-===============================================================================
-*/
-
-/*
--------------------------------------------------------------------------------
-Include common integer types and flags.
--------------------------------------------------------------------------------
-*/
-#include "arm-gcc.h"
-
-/*
--------------------------------------------------------------------------------
-The word `INLINE' appears before all routines that should be inlined. If
-a compiler does not support inlining, this macro should be defined to be
-`static'.
--------------------------------------------------------------------------------
-*/
-#define INLINE static __inline
-
-/*
--------------------------------------------------------------------------------
-Move private identifiers with external linkage into implementation namespace.
- -- Klaus Klein <kleink%netbsd.org@localhost>, May 5, 1999
--------------------------------------------------------------------------------
-*/
-#define float_exception_flags _arm32_float_exception_flags
-#define float_rounding_mode _arm32_float_rounding_mode
-#define float32_eq _arm32_float32_eq
-#define float32_le _arm32_float32_le
-#define float32_lt _arm32_float32_lt
-#define float64_eq _arm32_float64_eq
-#define float64_le _arm32_float64_le
-#define float64_lt _arm32_float64_lt
-#define float_raise _arm32_float_raise
diff -r 5a018f62f295 -r 1eceaf943927 lib/libc/arch/arm32/fplib/fplib_glue.S
--- a/lib/libc/arch/arm32/fplib/fplib_glue.S Tue Mar 13 18:47:19 2001 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,159 +0,0 @@
-/* $NetBSD: fplib_glue.S,v 1.2 1999/05/06 13:56:28 kleink Exp $ */
-
-/*-
- * Copyright (c) 1997 The NetBSD Foundation, Inc.
- * All rights reserved.
- *
- * This code is derived from software contributed to The NetBSD Foundation
- * by Neil A. Carson and Mark Brinicombe
- *
- * 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 NetBSD
- * Foundation, Inc. and its contributors.
- * 4. Neither the name of The NetBSD Foundation 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 NETBSD FOUNDATION, INC. AND CONTRIBUTORS
Home |
Main Index |
Thread Index |
Old Index