[Midnightbsd-cvs] src [10587] trunk/lib/libc/i386: sync with freebsd

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Jun 8 08:07:32 EDT 2018


Revision: 10587
          http://svnweb.midnightbsd.org/src/?rev=10587
Author:   laffer1
Date:     2018-06-08 08:07:32 -0400 (Fri, 08 Jun 2018)
Log Message:
-----------
sync with freebsd

Modified Paths:
--------------
    trunk/lib/libc/i386/Makefile.inc
    trunk/lib/libc/i386/SYS.h
    trunk/lib/libc/i386/Symbol.map
    trunk/lib/libc/i386/_fpmath.h
    trunk/lib/libc/i386/arith.h
    trunk/lib/libc/i386/gd_qnan.h

Property Changed:
----------------
    trunk/lib/libc/i386/Makefile.inc
    trunk/lib/libc/i386/Symbol.map

Modified: trunk/lib/libc/i386/Makefile.inc
===================================================================
--- trunk/lib/libc/i386/Makefile.inc	2018-06-08 12:07:23 UTC (rev 10586)
+++ trunk/lib/libc/i386/Makefile.inc	2018-06-08 12:07:32 UTC (rev 10587)
@@ -1,4 +1,5 @@
-# $FreeBSD$
+# $MidnightBSD$
+# $FreeBSD: stable/10/lib/libc/i386/Makefile.inc 174204 2007-12-03 07:17:33Z das $
 
 # Long double is 80 bits
 GDTOASRCS+=strtorx.c


Property changes on: trunk/lib/libc/i386/Makefile.inc
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/i386/SYS.h
===================================================================
--- trunk/lib/libc/i386/SYS.h	2018-06-08 12:07:23 UTC (rev 10586)
+++ trunk/lib/libc/i386/SYS.h	2018-06-08 12:07:32 UTC (rev 10587)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
  * All rights reserved.
@@ -30,27 +31,27 @@
  * SUCH DAMAGE.
  *
  *	@(#)SYS.h	5.5 (Berkeley) 5/7/91
- * $FreeBSD$
+ * $FreeBSD: stable/10/lib/libc/i386/SYS.h 240152 2012-09-05 21:41:05Z jilles $
  */
 
 #include <sys/syscall.h>
 #include <machine/asm.h>
 
-#define	SYSCALL(x)	2: PIC_PROLOGUE; jmp PIC_PLT(HIDENAME(cerror));	\
-			ENTRY(__CONCAT(__sys_,x));			\
+#define	SYSCALL(x)	ENTRY(__CONCAT(__sys_,x));			\
 			.weak CNAME(x);					\
 			.set CNAME(x),CNAME(__CONCAT(__sys_,x));	\
 			.weak CNAME(__CONCAT(_,x));			\
 			.set CNAME(__CONCAT(_,x)),CNAME(__CONCAT(__sys_,x)); \
-			mov __CONCAT($SYS_,x),%eax; KERNCALL; jb 2b
+			mov __CONCAT($SYS_,x),%eax; KERNCALL;		\
+ 			jb HIDENAME(cerror)
 
 #define	RSYSCALL(x)	SYSCALL(x); ret; END(__CONCAT(__sys_,x))
 
-#define	PSEUDO(x)	2: PIC_PROLOGUE; jmp PIC_PLT(HIDENAME(cerror)); \
-			ENTRY(__CONCAT(__sys_,x));			\
+#define	PSEUDO(x)	ENTRY(__CONCAT(__sys_,x));			\
 			.weak CNAME(__CONCAT(_,x));			\
 			.set CNAME(__CONCAT(_,x)),CNAME(__CONCAT(__sys_,x)); \
-			mov __CONCAT($SYS_,x),%eax; KERNCALL; jb 2b; ret; \
+			mov __CONCAT($SYS_,x),%eax; KERNCALL;		\
+ 			jb HIDENAME(cerror); ret; \
 			END(__CONCAT(__sys_,x))
 
 /* gas messes up offset -- although we don't currently need it, do for BCS */

Modified: trunk/lib/libc/i386/Symbol.map
===================================================================
--- trunk/lib/libc/i386/Symbol.map	2018-06-08 12:07:23 UTC (rev 10586)
+++ trunk/lib/libc/i386/Symbol.map	2018-06-08 12:07:32 UTC (rev 10587)
@@ -1,5 +1,5 @@
-/*
- * $FreeBSD: src/lib/libc/i386/Symbol.map,v 1.5.6.1 2008/11/25 02:59:29 kensmith Exp $
+/* $MidnightBSD$
+ * $FreeBSD: stable/10/lib/libc/i386/Symbol.map 240152 2012-09-05 21:41:05Z jilles $
  */
 
 /*
@@ -20,7 +20,6 @@
 	__nan;
 	__infinity;
 	makecontext;
-	modf;
 	rfork_thread;
 	setjmp;
 	longjmp;
@@ -64,7 +63,6 @@
 	__sys_vfork;
 	_vfork;
 	_end;
-	.cerror;
 	_brk;
 	.curbrk;
 	.minbrk;


Property changes on: trunk/lib/libc/i386/Symbol.map
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/i386/_fpmath.h
===================================================================
--- trunk/lib/libc/i386/_fpmath.h	2018-06-08 12:07:23 UTC (rev 10586)
+++ trunk/lib/libc/i386/_fpmath.h	2018-06-08 12:07:32 UTC (rev 10587)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 2002, 2003 David Schultz <das at FreeBSD.ORG>
  * All rights reserved.
@@ -23,7 +24,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $FreeBSD$
+ * $FreeBSD: stable/10/lib/libc/i386/_fpmath.h 175402 2008-01-17 16:39:07Z bde $
  */
 
 union IEEEl2bits {

Modified: trunk/lib/libc/i386/arith.h
===================================================================
--- trunk/lib/libc/i386/arith.h	2018-06-08 12:07:23 UTC (rev 10586)
+++ trunk/lib/libc/i386/arith.h	2018-06-08 12:07:32 UTC (rev 10587)
@@ -1,7 +1,8 @@
+/* $MidnightBSD$ */
 /*
  * MD header for contrib/gdtoa
  *
- * $FreeBSD$
+ * $FreeBSD: stable/10/lib/libc/i386/arith.h 114839 2003-05-08 13:50:44Z das $
  */
 
 /*

Modified: trunk/lib/libc/i386/gd_qnan.h
===================================================================
--- trunk/lib/libc/i386/gd_qnan.h	2018-06-08 12:07:23 UTC (rev 10586)
+++ trunk/lib/libc/i386/gd_qnan.h	2018-06-08 12:07:32 UTC (rev 10587)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*
  * MD header for contrib/gdtoa
  *
@@ -4,7 +5,7 @@
  * This file can be generated by compiling and running contrib/gdtoa/qnan.c
  * on the target architecture after arith.h has been generated.
  *
- * $FreeBSD$
+ * $FreeBSD: stable/10/lib/libc/i386/gd_qnan.h 174680 2007-12-16 21:15:09Z das $
  */
 
 #define f_QNAN 0x7fc00000



More information about the Midnightbsd-cvs mailing list