[Midnightbsd-cvs] src [10632] U trunk/lib/libc/amd64/sys: sync with freebsd

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jun 9 12:41:21 EDT 2018


Revision: 10632
          http://svnweb.midnightbsd.org/src/?rev=10632
Author:   laffer1
Date:     2018-06-09 12:41:21 -0400 (Sat, 09 Jun 2018)
Log Message:
-----------
sync with freebsd

Modified Paths:
--------------
    trunk/lib/libc/amd64/SYS.h
    trunk/lib/libc/amd64/Symbol.map
    trunk/lib/libc/amd64/gd_qnan.h
    trunk/lib/libc/amd64/gen/Makefile.inc
    trunk/lib/libc/amd64/gen/_set_tp.c
    trunk/lib/libc/amd64/gen/_setjmp.S
    trunk/lib/libc/amd64/gen/fabs.S
    trunk/lib/libc/amd64/gen/flt_rounds.c
    trunk/lib/libc/amd64/gen/fpgetmask.c
    trunk/lib/libc/amd64/gen/fpgetprec.c
    trunk/lib/libc/amd64/gen/fpgetround.c
    trunk/lib/libc/amd64/gen/fpgetsticky.c
    trunk/lib/libc/amd64/gen/fpsetmask.c
    trunk/lib/libc/amd64/gen/fpsetprec.c
    trunk/lib/libc/amd64/gen/fpsetround.c
    trunk/lib/libc/amd64/gen/getcontextx.c
    trunk/lib/libc/amd64/gen/infinity.c
    trunk/lib/libc/amd64/gen/makecontext.c
    trunk/lib/libc/amd64/gen/rfork_thread.S
    trunk/lib/libc/amd64/gen/setjmp.S
    trunk/lib/libc/amd64/gen/signalcontext.c
    trunk/lib/libc/amd64/gen/sigsetjmp.S
    trunk/lib/libc/amd64/stdlib/Makefile.inc
    trunk/lib/libc/amd64/stdlib/div.S
    trunk/lib/libc/amd64/stdlib/ldiv.S
    trunk/lib/libc/amd64/stdlib/lldiv.S
    trunk/lib/libc/amd64/string/Makefile.inc
    trunk/lib/libc/amd64/string/bcmp.S
    trunk/lib/libc/amd64/string/bcopy.S
    trunk/lib/libc/amd64/string/bzero.S
    trunk/lib/libc/amd64/string/memcmp.S
    trunk/lib/libc/amd64/string/memcpy.S
    trunk/lib/libc/amd64/string/memmove.S
    trunk/lib/libc/amd64/string/memset.S
    trunk/lib/libc/amd64/string/stpcpy.S
    trunk/lib/libc/amd64/string/strcat.S
    trunk/lib/libc/amd64/string/strcmp.S
    trunk/lib/libc/amd64/string/strcpy.c
    trunk/lib/libc/amd64/sys/Makefile.inc
    trunk/lib/libc/amd64/sys/__vdso_gettc.c
    trunk/lib/libc/amd64/sys/amd64_get_fsbase.c
    trunk/lib/libc/amd64/sys/amd64_get_gsbase.c
    trunk/lib/libc/amd64/sys/amd64_set_fsbase.c
    trunk/lib/libc/amd64/sys/amd64_set_gsbase.c
    trunk/lib/libc/amd64/sys/brk.S
    trunk/lib/libc/amd64/sys/cerror.S
    trunk/lib/libc/amd64/sys/exect.S
    trunk/lib/libc/amd64/sys/getcontext.S
    trunk/lib/libc/amd64/sys/pipe.S
    trunk/lib/libc/amd64/sys/sbrk.S
    trunk/lib/libc/amd64/sys/setlogin.S
    trunk/lib/libc/amd64/sys/vfork.S

Property Changed:
----------------
    trunk/lib/libc/amd64/Makefile.inc
    trunk/lib/libc/amd64/Symbol.map
    trunk/lib/libc/amd64/gen/Makefile.inc
    trunk/lib/libc/amd64/gen/_setjmp.S
    trunk/lib/libc/amd64/gen/fabs.S
    trunk/lib/libc/amd64/gen/modf.S
    trunk/lib/libc/amd64/gen/rfork_thread.S
    trunk/lib/libc/amd64/gen/setjmp.S
    trunk/lib/libc/amd64/gen/sigsetjmp.S
    trunk/lib/libc/amd64/stdlib/Makefile.inc
    trunk/lib/libc/amd64/stdlib/div.S
    trunk/lib/libc/amd64/stdlib/ldiv.S
    trunk/lib/libc/amd64/stdlib/lldiv.S
    trunk/lib/libc/amd64/string/Makefile.inc
    trunk/lib/libc/amd64/string/bcmp.S
    trunk/lib/libc/amd64/string/bcopy.S
    trunk/lib/libc/amd64/string/bzero.S
    trunk/lib/libc/amd64/string/memcmp.S
    trunk/lib/libc/amd64/string/memcpy.S
    trunk/lib/libc/amd64/string/memmove.S
    trunk/lib/libc/amd64/string/memset.S
    trunk/lib/libc/amd64/string/stpcpy.S
    trunk/lib/libc/amd64/string/strcat.S
    trunk/lib/libc/amd64/string/strcmp.S
    trunk/lib/libc/amd64/sys/Makefile.inc
    trunk/lib/libc/amd64/sys/brk.S
    trunk/lib/libc/amd64/sys/cerror.S
    trunk/lib/libc/amd64/sys/exect.S
    trunk/lib/libc/amd64/sys/getcontext.S
    trunk/lib/libc/amd64/sys/pipe.S
    trunk/lib/libc/amd64/sys/ptrace.S
    trunk/lib/libc/amd64/sys/reboot.S
    trunk/lib/libc/amd64/sys/sbrk.S
    trunk/lib/libc/amd64/sys/setlogin.S
    trunk/lib/libc/amd64/sys/sigreturn.S
    trunk/lib/libc/amd64/sys/vfork.S

Index: trunk/lib/libc/amd64/Makefile.inc
===================================================================
--- trunk/lib/libc/amd64/Makefile.inc	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/Makefile.inc	2018-06-09 16:41:21 UTC (rev 10632)

Property changes on: trunk/lib/libc/amd64/Makefile.inc
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/SYS.h
===================================================================
--- trunk/lib/libc/amd64/SYS.h	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/SYS.h	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
  * All rights reserved.
@@ -30,44 +31,26 @@
  * SUCH DAMAGE.
  *
  *	@(#)SYS.h	5.5 (Berkeley) 5/7/91
- * $MidnightBSD$
+ * $FreeBSD: stable/10/lib/libc/amd64/SYS.h 240178 2012-09-06 20:59:49Z jilles $
  */
 
 #include <sys/syscall.h>
 #include <machine/asm.h>
 
-#ifdef PIC
 #define	RSYSCALL(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),%rax; KERNCALL; jb 2f; ret; \
-			2: movq PIC_GOT(HIDENAME(cerror)),%rcx; jmp *%rcx; \
+			mov __CONCAT($SYS_,x),%eax; KERNCALL;		\
+			jb HIDENAME(cerror); ret;			\
 			END(__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),%rax; KERNCALL; jb 2f; ret ; \
-			2: movq PIC_GOT(HIDENAME(cerror)),%rcx; jmp *%rcx; \
+			mov __CONCAT($SYS_,x),%eax; KERNCALL;		\
+			jb HIDENAME(cerror); ret;			\
 			END(__CONCAT(__sys_,x))
-#else
-#define	RSYSCALL(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),%rax; KERNCALL; jb 2f; ret; \
-			2: jmp HIDENAME(cerror);			\
-			END(__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),%rax; KERNCALL; jb 2f; ret; \
-			2: jmp HIDENAME(cerror);			\
-			END(__CONCAT(__sys_,x))
-#endif
-
 #define KERNCALL	movq %rcx, %r10; syscall

Modified: trunk/lib/libc/amd64/Symbol.map
===================================================================
--- trunk/lib/libc/amd64/Symbol.map	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/Symbol.map	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,5 +1,5 @@
-/*
- * $MidnightBSD$
+/* $MidnightBSD$
+ * $FreeBSD: stable/10/lib/libc/amd64/Symbol.map 240178 2012-09-06 20:59:49Z jilles $
  */
 
 /*
@@ -26,7 +26,6 @@
 	__infinity;
 	__nan;
 	makecontext;
-	modf;
 	rfork_thread;
 	setjmp;
 	longjmp;
@@ -67,7 +66,6 @@
 	.curbrk;
 	.minbrk;
 	_brk;
-	.cerror;
 	_end;
 	__sys_vfork;
 	_vfork;


Property changes on: trunk/lib/libc/amd64/Symbol.map
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/gd_qnan.h
===================================================================
--- trunk/lib/libc/amd64/gd_qnan.h	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gd_qnan.h	2018-06-09 16:41:21 UTC (rev 10632)
@@ -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.
  *
- * $MidnightBSD$
+ * $FreeBSD: stable/10/lib/libc/amd64/gd_qnan.h 174680 2007-12-16 21:15:09Z das $
  */
 
 #define f_QNAN 0x7fc00000

Modified: trunk/lib/libc/amd64/gen/Makefile.inc
===================================================================
--- trunk/lib/libc/amd64/gen/Makefile.inc	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/Makefile.inc	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,8 +1,9 @@
 #	@(#)Makefile.inc	8.1 (Berkeley) 6/4/93
+# $FreeBSD: stable/10/lib/libc/amd64/gen/Makefile.inc 230429 2012-01-21 18:00:28Z kib $
 # $MidnightBSD$
 
 SRCS+=	_setjmp.S _set_tp.c rfork_thread.S setjmp.S sigsetjmp.S \
-	fabs.S getcontextx.c modf.S \
+	fabs.S getcontextx.c \
 	infinity.c ldexp.c makecontext.c signalcontext.c \
 	flt_rounds.c fpgetmask.c fpsetmask.c fpgetprec.c fpsetprec.c \
 	fpgetround.c fpsetround.c fpgetsticky.c


Property changes on: trunk/lib/libc/amd64/gen/Makefile.inc
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/gen/_set_tp.c
===================================================================
--- trunk/lib/libc/amd64/gen/_set_tp.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/_set_tp.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 2004 Doug Rabson
  * All rights reserved.
@@ -23,7 +24,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *	$MidnightBSD$
+ *	$FreeBSD: stable/10/lib/libc/amd64/gen/_set_tp.c 133754 2004-08-15 16:18:52Z dfr $
  */
 
 #include <string.h>

Modified: trunk/lib/libc/amd64/gen/_setjmp.S
===================================================================
--- trunk/lib/libc/amd64/gen/_setjmp.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/_setjmp.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
  * All rights reserved.
@@ -34,7 +35,7 @@
 	.asciz "@(#)_setjmp.s	5.1 (Berkeley) 4/23/90"
 #endif /* LIBC_SCCS and not lint */
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/gen/_setjmp.S 217106 2011-01-07 16:08:40Z kib $");
 
 /*
  * C library -- _setjmp, _longjmp


Property changes on: trunk/lib/libc/amd64/gen/_setjmp.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/gen/fabs.S
===================================================================
--- trunk/lib/libc/amd64/gen/fabs.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/fabs.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 2004 Peter Wemm
  * All rights reserved.
@@ -25,7 +26,7 @@
  */
 
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/gen/fabs.S 217106 2011-01-07 16:08:40Z kib $");
 
 /*
  * Return floating point absolute value of a double.


Property changes on: trunk/lib/libc/amd64/gen/fabs.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/gen/flt_rounds.c
===================================================================
--- trunk/lib/libc/amd64/gen/flt_rounds.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/flt_rounds.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*
  * Written by J.T. Conklin, Apr 10, 1995
  * Public domain.
@@ -4,7 +5,7 @@
  */
 
 #include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/gen/flt_rounds.c 132383 2004-07-19 08:17:25Z das $");
 
 #include <float.h>
 

Modified: trunk/lib/libc/amd64/gen/fpgetmask.c
===================================================================
--- trunk/lib/libc/amd64/gen/fpgetmask.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/fpgetmask.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,4 +1,5 @@
 /* $MidnightBSD$ */
+/* $FreeBSD: stable/10/lib/libc/amd64/gen/fpgetmask.c 117864 2003-07-22 06:46:17Z peter $ */
 #define __IEEEFP_NOINLINES__ 1
 #include <ieeefp.h>
 

Modified: trunk/lib/libc/amd64/gen/fpgetprec.c
===================================================================
--- trunk/lib/libc/amd64/gen/fpgetprec.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/fpgetprec.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,4 +1,5 @@
 /* $MidnightBSD$ */
+/* $FreeBSD: stable/10/lib/libc/amd64/gen/fpgetprec.c 117864 2003-07-22 06:46:17Z peter $ */
 #define __IEEEFP_NOINLINES__ 1
 #include <ieeefp.h>
 

Modified: trunk/lib/libc/amd64/gen/fpgetround.c
===================================================================
--- trunk/lib/libc/amd64/gen/fpgetround.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/fpgetround.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,4 +1,5 @@
 /* $MidnightBSD$ */
+/* $FreeBSD: stable/10/lib/libc/amd64/gen/fpgetround.c 117864 2003-07-22 06:46:17Z peter $ */
 #define __IEEEFP_NOINLINES__ 1
 #include <ieeefp.h>
 

Modified: trunk/lib/libc/amd64/gen/fpgetsticky.c
===================================================================
--- trunk/lib/libc/amd64/gen/fpgetsticky.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/fpgetsticky.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,4 +1,5 @@
 /* $MidnightBSD$ */
+/* $FreeBSD: stable/10/lib/libc/amd64/gen/fpgetsticky.c 117864 2003-07-22 06:46:17Z peter $ */
 #define __IEEEFP_NOINLINES__ 1
 #include <ieeefp.h>
 

Modified: trunk/lib/libc/amd64/gen/fpsetmask.c
===================================================================
--- trunk/lib/libc/amd64/gen/fpsetmask.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/fpsetmask.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,4 +1,5 @@
 /* $MidnightBSD$ */
+/* $FreeBSD: stable/10/lib/libc/amd64/gen/fpsetmask.c 117864 2003-07-22 06:46:17Z peter $ */
 #define __IEEEFP_NOINLINES__ 1
 #include <ieeefp.h>
 

Modified: trunk/lib/libc/amd64/gen/fpsetprec.c
===================================================================
--- trunk/lib/libc/amd64/gen/fpsetprec.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/fpsetprec.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,4 +1,5 @@
 /* $MidnightBSD$ */
+/* $FreeBSD: stable/10/lib/libc/amd64/gen/fpsetprec.c 117864 2003-07-22 06:46:17Z peter $ */
 #define __IEEEFP_NOINLINES__ 1
 #include <ieeefp.h>
 

Modified: trunk/lib/libc/amd64/gen/fpsetround.c
===================================================================
--- trunk/lib/libc/amd64/gen/fpsetround.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/fpsetround.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,4 +1,5 @@
 /* $MidnightBSD$ */
+/* $FreeBSD: stable/10/lib/libc/amd64/gen/fpsetround.c 117864 2003-07-22 06:46:17Z peter $ */
 #define __IEEEFP_NOINLINES__ 1
 #include <ieeefp.h>
 

Modified: trunk/lib/libc/amd64/gen/getcontextx.c
===================================================================
--- trunk/lib/libc/amd64/gen/getcontextx.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/getcontextx.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*
  * Copyright (c) 2011 Konstantin Belousov <kib at FreeBSD.org>
  * All rights reserved.
@@ -25,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/gen/getcontextx.c 251047 2013-05-28 04:54:16Z kib $");
 
 #include <sys/types.h>
 #include <sys/ucontext.h>

Modified: trunk/lib/libc/amd64/gen/infinity.c
===================================================================
--- trunk/lib/libc/amd64/gen/infinity.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/infinity.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,9 +1,10 @@
+/* $MidnightBSD$ */
 /*
  * infinity.c
  */
 
 #include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/gen/infinity.c 110566 2003-02-08 20:37:55Z mike $");
 
 #include <math.h>
 

Modified: trunk/lib/libc/amd64/gen/makecontext.c
===================================================================
--- trunk/lib/libc/amd64/gen/makecontext.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/makecontext.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*
  * Copyright (c) 2003 Marcel Moolenaar
  * All rights reserved.
@@ -25,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/gen/makecontext.c 132912 2004-07-31 01:41:41Z davidxu $");
 
 #include <sys/types.h>
 #include <sys/ucontext.h>

Index: trunk/lib/libc/amd64/gen/modf.S
===================================================================
--- trunk/lib/libc/amd64/gen/modf.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/modf.S	2018-06-09 16:41:21 UTC (rev 10632)

Property changes on: trunk/lib/libc/amd64/gen/modf.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/gen/rfork_thread.S
===================================================================
--- trunk/lib/libc/amd64/gen/rfork_thread.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/rfork_thread.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 2000 Peter Wemm <peter at FreeBSD.org>
  * Copyright (c) 2003 Alan L. Cox <alc at cs.rice.edu>
@@ -26,7 +27,7 @@
  */
 
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/gen/rfork_thread.S 240178 2012-09-06 20:59:49Z jilles $");
 
 /*
  * With thanks to John Dyson for the original version of this.
@@ -93,12 +94,7 @@
 2:
 	popq	%r12
 	popq	%rbx
-#ifdef PIC
-	movq	PIC_GOT(HIDENAME(cerror)), %rdx
-	jmp	*%rdx
-#else
 	jmp	HIDENAME(cerror)
-#endif
 END(rfork_thread)
 
 	.section .note.GNU-stack,"",%progbits


Property changes on: trunk/lib/libc/amd64/gen/rfork_thread.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/gen/setjmp.S
===================================================================
--- trunk/lib/libc/amd64/gen/setjmp.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/setjmp.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
  * All rights reserved.
@@ -34,7 +35,7 @@
 	.asciz "@(#)setjmp.s	5.1 (Berkeley) 4/23/90"
 #endif /* LIBC_SCCS and not lint */
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/gen/setjmp.S 287480 2015-09-05 08:55:51Z kib $");
 
 /*
  * C library -- _setjmp, _longjmp
@@ -55,7 +56,7 @@
 	movq	$0,%rsi			/* (sigset_t*)set  */
 	leaq	72(%rcx),%rdx		/* 9,10; (sigset_t*)oset */
 	/* stack is 16-byte aligned */
-	call	PIC_PLT(CNAME(_sigprocmask))
+	call	__libc_sigprocmask
 	popq	%rdi
 	movq	%rdi,%rcx
 	movq	0(%rsp),%rdx		/* retval */
@@ -83,7 +84,7 @@
 	leaq	72(%rdx),%rsi		/* (sigset_t*)set  */
 	movq	$0,%rdx			/* (sigset_t*)oset */
 	subq	$0x8,%rsp		/* make the stack 16-byte aligned */
-	call	PIC_PLT(CNAME(_sigprocmask))
+	call	__libc_sigprocmask
 	addq	$0x8,%rsp
 	popq	%rsi
 	popq	%rdi			/* jmpbuf */


Property changes on: trunk/lib/libc/amd64/gen/setjmp.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/gen/signalcontext.c
===================================================================
--- trunk/lib/libc/amd64/gen/signalcontext.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/signalcontext.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*
  * Copyright (c) 2003 Marcel Moolenaar
  * All rights reserved.
@@ -25,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/gen/signalcontext.c 132795 2004-07-28 13:08:24Z davidxu $");
 
 #include <sys/types.h>
 #include <sys/ucontext.h>

Modified: trunk/lib/libc/amd64/gen/sigsetjmp.S
===================================================================
--- trunk/lib/libc/amd64/gen/sigsetjmp.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/gen/sigsetjmp.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
  * All rights reserved.
@@ -34,10 +35,10 @@
 
 #if defined(LIBC_SCCS) && !defined(lint)
 	.text
-	.asciz "$Id: sigsetjmp.S,v 1.5 2012-11-27 01:40:20 laffer1 Exp $"
+	.asciz "$Id: sigsetjmp.S,v 1.1 1993/12/05 13:01:05 ats Exp $"
 #endif /* LIBC_SCCS and not lint */
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/gen/sigsetjmp.S 287480 2015-09-05 08:55:51Z kib $");
 
 #include "SYS.h"
 
@@ -63,7 +64,7 @@
 	movq	$0,%rsi			/* (sigset_t*)set  */
 	leaq	72(%rcx),%rdx		/* 9,10 (sigset_t*)oset */
 	/* stack is 16-byte aligned */
-	call	PIC_PLT(CNAME(_sigprocmask))
+	call	__libc_sigprocmask
 	popq	%rdi
 2:	movq	%rdi,%rcx
 	movq	0(%rsp),%rdx		/* retval */
@@ -92,7 +93,7 @@
 	leaq	72(%rdx),%rsi		/* (sigset_t*)set  */
 	movq	$0,%rdx			/* (sigset_t*)oset */
 	subq	$0x8,%rsp		/* make the stack 16-byte aligned */
-	call	PIC_PLT(CNAME(_sigprocmask))
+	call	__libc_sigprocmask
 	addq	$0x8,%rsp
 	popq	%rsi
 	popq	%rdi			/* jmpbuf */


Property changes on: trunk/lib/libc/amd64/gen/sigsetjmp.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/stdlib/Makefile.inc
===================================================================
--- trunk/lib/libc/amd64/stdlib/Makefile.inc	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/stdlib/Makefile.inc	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,4 +1,5 @@
 #	@(#)Makefile.inc	8.1 (Berkeley) 6/4/93
+# $FreeBSD: stable/10/lib/libc/amd64/stdlib/Makefile.inc 168336 2007-04-04 01:19:54Z jkim $
 # $MidnightBSD$
 
 MDSRCS+=div.S ldiv.S lldiv.S


Property changes on: trunk/lib/libc/amd64/stdlib/Makefile.inc
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/stdlib/div.S
===================================================================
--- trunk/lib/libc/amd64/stdlib/div.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/stdlib/div.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*	$NetBSD: div.S,v 1.1 2001/06/19 00:25:04 fvdl Exp $	*/
 
 /*-
@@ -6,7 +7,7 @@
  */
 
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/stdlib/div.S 217106 2011-01-07 16:08:40Z kib $");
 
 ENTRY(div)
 	movl	%edi,%eax


Property changes on: trunk/lib/libc/amd64/stdlib/div.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/stdlib/ldiv.S
===================================================================
--- trunk/lib/libc/amd64/stdlib/ldiv.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/stdlib/ldiv.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*	$NetBSD: ldiv.S,v 1.1 2001/06/19 00:25:04 fvdl Exp $	*/
 
 /*-
@@ -6,7 +7,7 @@
  */
 
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/stdlib/ldiv.S 217106 2011-01-07 16:08:40Z kib $");
 
 ENTRY(ldiv)
 	movq	%rdi,%rax


Property changes on: trunk/lib/libc/amd64/stdlib/ldiv.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/stdlib/lldiv.S
===================================================================
--- trunk/lib/libc/amd64/stdlib/lldiv.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/stdlib/lldiv.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*	$NetBSD: ldiv.S,v 1.1 2001/06/19 00:25:04 fvdl Exp $	*/
 
 /*-
@@ -6,7 +7,7 @@
  */
 
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/stdlib/lldiv.S 217106 2011-01-07 16:08:40Z kib $");
 
 ENTRY(lldiv)
 	movq	%rdi,%rax


Property changes on: trunk/lib/libc/amd64/stdlib/lldiv.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/string/Makefile.inc
===================================================================
--- trunk/lib/libc/amd64/string/Makefile.inc	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/string/Makefile.inc	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,4 +1,5 @@
 # $MidnightBSD$
+# $FreeBSD: stable/10/lib/libc/amd64/string/Makefile.inc 224246 2011-07-21 16:32:13Z gnn $
 
 MDSRCS+= bcmp.S bcopy.S bzero.S memcmp.S memcpy.S memmove.S memset.S \
 	strcat.S strcmp.S stpcpy.S strcpy.c


Property changes on: trunk/lib/libc/amd64/string/Makefile.inc
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/string/bcmp.S
===================================================================
--- trunk/lib/libc/amd64/string/bcmp.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/string/bcmp.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,5 +1,6 @@
+/* $MidnightBSD$ */
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/string/bcmp.S 217106 2011-01-07 16:08:40Z kib $");
 
 #if 0
 	RCSID("$NetBSD: bcmp.S,v 1.1 2001/06/19 00:25:04 fvdl Exp $")


Property changes on: trunk/lib/libc/amd64/string/bcmp.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/string/bcopy.S
===================================================================
--- trunk/lib/libc/amd64/string/bcopy.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/string/bcopy.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
  * All rights reserved.
@@ -30,7 +31,7 @@
  */
 
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/string/bcopy.S 217106 2011-01-07 16:08:40Z kib $");
 
 #if 0
 	RCSID("$NetBSD: bcopy.S,v 1.2 2003/08/07 16:42:36 agc Exp $")


Property changes on: trunk/lib/libc/amd64/string/bcopy.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/string/bzero.S
===================================================================
--- trunk/lib/libc/amd64/string/bzero.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/string/bzero.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*
  * Written by J.T. Conklin <jtc at NetBSD.org>.
  * Public domain.
@@ -5,7 +6,7 @@
  */
 
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/string/bzero.S 217106 2011-01-07 16:08:40Z kib $");
 
 #if 0
 	RCSID("$NetBSD: bzero.S,v 1.2 2003/07/26 19:24:38 salo Exp $")


Property changes on: trunk/lib/libc/amd64/string/bzero.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/string/memcmp.S
===================================================================
--- trunk/lib/libc/amd64/string/memcmp.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/string/memcmp.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*
  * Written by J.T. Conklin <jtc at NetBSD.org>.
  * Public domain.
@@ -5,7 +6,7 @@
  */
 
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/string/memcmp.S 217106 2011-01-07 16:08:40Z kib $");
 
 #if 0
 	RCSID("$NetBSD: memcmp.S,v 1.2 2003/07/26 19:24:39 salo Exp $")


Property changes on: trunk/lib/libc/amd64/string/memcmp.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/string/memcpy.S
===================================================================
--- trunk/lib/libc/amd64/string/memcpy.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/string/memcpy.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,5 +1,6 @@
+/* $MidnightBSD$ */
 /*	$NetBSD: memcpy.S,v 1.1 2001/06/19 00:25:05 fvdl Exp $	*/
-/*	$MidnightBSD$ */
+/*	$FreeBSD: stable/10/lib/libc/amd64/string/memcpy.S 144730 2005-04-07 03:56:03Z alc $ */
 
 #define MEMCOPY
 #include "bcopy.S"


Property changes on: trunk/lib/libc/amd64/string/memcpy.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/string/memmove.S
===================================================================
--- trunk/lib/libc/amd64/string/memmove.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/string/memmove.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,5 +1,6 @@
+/* $MidnightBSD$ */
 /*	$NetBSD: memmove.S,v 1.1 2001/06/19 00:25:05 fvdl Exp $	*/
-/*	$MidnightBSD$ */
+/*	$FreeBSD: stable/10/lib/libc/amd64/string/memmove.S 218303 2011-02-04 21:04:00Z kib $ */
 
 #define MEMMOVE
 #include "bcopy.S"


Property changes on: trunk/lib/libc/amd64/string/memmove.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/string/memset.S
===================================================================
--- trunk/lib/libc/amd64/string/memset.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/string/memset.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*
  * Written by J.T. Conklin <jtc at NetBSD.org>.
  * Public domain.
@@ -5,7 +6,7 @@
  */
 
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/string/memset.S 217106 2011-01-07 16:08:40Z kib $");
 
 #if 0
 	RCSID("$NetBSD: memset.S,v 1.3 2004/02/26 20:50:06 drochner Exp $")


Property changes on: trunk/lib/libc/amd64/string/memset.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/string/stpcpy.S
===================================================================
--- trunk/lib/libc/amd64/string/stpcpy.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/string/stpcpy.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*
  * Adapted by Guillaume Morin <guillaume at morinfr.org> from strcpy.S
  * written by J.T. Conklin <jtc at acorntoolworks.com>
@@ -5,7 +6,7 @@
  */
 
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/string/stpcpy.S 224253 2011-07-21 20:06:14Z gnn $");
 
 /*
  * This stpcpy implementation copies a byte at a time until the


Property changes on: trunk/lib/libc/amd64/string/stpcpy.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/string/strcat.S
===================================================================
--- trunk/lib/libc/amd64/string/strcat.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/string/strcat.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*
  * Written by J.T. Conklin <jtc at acorntoolworks.com>
  * Public domain.
@@ -4,7 +5,7 @@
  */
 
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/string/strcat.S 217106 2011-01-07 16:08:40Z kib $");
 
 #if 0
 	RCSID("$NetBSD: strcat.S,v 1.4 2004/07/26 18:51:21 drochner Exp $")


Property changes on: trunk/lib/libc/amd64/string/strcat.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/string/strcmp.S
===================================================================
--- trunk/lib/libc/amd64/string/strcmp.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/string/strcmp.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*
  * Written by J.T. Conklin <jtc at acorntoolworks.com>
  * Public domain.
@@ -4,7 +5,7 @@
  */
 
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/string/strcmp.S 217106 2011-01-07 16:08:40Z kib $");
 
 #if 0
 	RCSID("$NetBSD: strcmp.S,v 1.3 2004/07/19 20:04:41 drochner Exp $")


Property changes on: trunk/lib/libc/amd64/string/strcmp.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/string/strcpy.c
===================================================================
--- trunk/lib/libc/amd64/string/strcpy.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/string/strcpy.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*
  * Copyright 2011 George V. Neville-Neil. All rights reserved.
  *
@@ -26,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/string/strcpy.c 224246 2011-07-21 16:32:13Z gnn $");
 
 char *__stpcpy(char * __restrict, const char * __restrict);
 

Modified: trunk/lib/libc/amd64/sys/Makefile.inc
===================================================================
--- trunk/lib/libc/amd64/sys/Makefile.inc	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/Makefile.inc	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,11 +1,12 @@
 #	from: Makefile.inc,v 1.1 1993/09/03 19:04:23 jtc Exp
+# $FreeBSD: stable/10/lib/libc/amd64/sys/Makefile.inc 305341 2016-09-03 11:09:47Z kib $
 # $MidnightBSD$
 
 SRCS+=	amd64_get_fsbase.c amd64_get_gsbase.c amd64_set_fsbase.c \
 	amd64_set_gsbase.c __vdso_gettc.c
 
-MDASM=	vfork.S brk.S cerror.S exect.S getcontext.S pipe.S ptrace.S \
-	reboot.S sbrk.S setlogin.S sigreturn.S
+MDASM=	vfork.S brk.S cerror.S exect.S getcontext.S pipe.S \
+	sbrk.S setlogin.S sigreturn.S
 
 # Don't generate default code for these syscalls:
 NOASM=	break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.o


Property changes on: trunk/lib/libc/amd64/sys/Makefile.inc
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/sys/__vdso_gettc.c
===================================================================
--- trunk/lib/libc/amd64/sys/__vdso_gettc.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/__vdso_gettc.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 2012 Konstantin Belousov <kib at FreeBSD.org>
  *
@@ -24,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/sys/__vdso_gettc.c 246117 2013-01-30 12:48:16Z kib $");
 
 #include <sys/types.h>
 #include <sys/elf.h>

Modified: trunk/lib/libc/amd64/sys/amd64_get_fsbase.c
===================================================================
--- trunk/lib/libc/amd64/sys/amd64_get_fsbase.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/amd64_get_fsbase.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 2003 Peter Wemm
  * All rights reserved.
@@ -25,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/sys/amd64_get_fsbase.c 124296 2004-01-09 16:52:09Z nectar $");
 
 #include <machine/sysarch.h>
 

Modified: trunk/lib/libc/amd64/sys/amd64_get_gsbase.c
===================================================================
--- trunk/lib/libc/amd64/sys/amd64_get_gsbase.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/amd64_get_gsbase.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 2003 Peter Wemm
  * All rights reserved.
@@ -25,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/sys/amd64_get_gsbase.c 124296 2004-01-09 16:52:09Z nectar $");
 
 #include <machine/sysarch.h>
 

Modified: trunk/lib/libc/amd64/sys/amd64_set_fsbase.c
===================================================================
--- trunk/lib/libc/amd64/sys/amd64_set_fsbase.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/amd64_set_fsbase.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 2003 Peter Wemm
  * All rights reserved.
@@ -25,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/sys/amd64_set_fsbase.c 124296 2004-01-09 16:52:09Z nectar $");
 
 #include <machine/sysarch.h>
 

Modified: trunk/lib/libc/amd64/sys/amd64_set_gsbase.c
===================================================================
--- trunk/lib/libc/amd64/sys/amd64_set_gsbase.c	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/amd64_set_gsbase.c	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 2003 Peter Wemm
  * All rights reserved.
@@ -25,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/sys/amd64_set_gsbase.c 124296 2004-01-09 16:52:09Z nectar $");
 
 #include <machine/sysarch.h>
 

Modified: trunk/lib/libc/amd64/sys/brk.S
===================================================================
--- trunk/lib/libc/amd64/sys/brk.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/brk.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
  * All rights reserved.
@@ -34,7 +35,7 @@
 	.asciz "@(#)brk.s	5.2 (Berkeley) 12/17/90"
 #endif /* SYSLIBC_SCCS and not lint */
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/sys/brk.S 240178 2012-09-06 20:59:49Z jilles $");
 
 #include "SYS.h"
 
@@ -76,12 +77,7 @@
 	ret
 err:
 	addq	$8, %rsp
-#ifdef PIC
-	movq	PIC_GOT(HIDENAME(cerror)),%rdx
-	jmp	*%rdx
-#else
 	jmp	HIDENAME(cerror)
-#endif
 END(brk)
 
 	.section .note.GNU-stack,"",%progbits


Property changes on: trunk/lib/libc/amd64/sys/brk.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/sys/cerror.S
===================================================================
--- trunk/lib/libc/amd64/sys/cerror.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/cerror.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
  * All rights reserved.
@@ -34,7 +35,7 @@
 	.asciz "@(#)cerror.s	5.1 (Berkeley) 4/23/90"
 #endif /* SYSLIBC_SCCS and not lint */
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/sys/cerror.S 217106 2011-01-07 16:08:40Z kib $");
 
 #include "SYS.h"
 


Property changes on: trunk/lib/libc/amd64/sys/cerror.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/sys/exect.S
===================================================================
--- trunk/lib/libc/amd64/sys/exect.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/exect.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
  * All rights reserved.
@@ -34,7 +35,7 @@
 	.asciz "@(#)exect.s	5.1 (Berkeley) 4/23/90"
 #endif /* SYSLIBC_SCCS and not lint */
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/sys/exect.S 240178 2012-09-06 20:59:49Z jilles $");
 
 #include "SYS.h"
 #include <machine/psl.h>
@@ -47,12 +48,7 @@
 	pushq	%r8
 	popfq
 	KERNCALL
-#ifdef PIC
-	movq	PIC_GOT(HIDENAME(cerror)),%rdx
-	jmp	*%rdx
-#else
 	jmp	HIDENAME(cerror)
-#endif
 END(exect)
 
 	.section .note.GNU-stack,"",%progbits


Property changes on: trunk/lib/libc/amd64/sys/exect.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/sys/getcontext.S
===================================================================
--- trunk/lib/libc/amd64/sys/getcontext.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/getcontext.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 2003 Peter Wemm <peter at FreeBSD.org>
  * All rights reserved.
@@ -25,7 +26,7 @@
  */
 
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/sys/getcontext.S 240178 2012-09-06 20:59:49Z jilles $");
 
 #include <SYS.h>
 
@@ -42,16 +43,9 @@
 	movq	(%rsp),%rsi	/* save getcontext return address */
 	mov	$SYS_getcontext,%rax
 	KERNCALL
-	jb	1f
+	jb	HIDENAME(cerror)
 	addq	$8,%rsp		/* remove stale (setcontext) return address */
 	jmp	*%rsi		/* restore return address */
-1:
-#ifdef PIC
-	movq	PIC_GOT(HIDENAME(cerror)),%rdx
-	jmp	*%rdx
-#else
-	jmp	HIDENAME(cerror)
-#endif
 END(__sys_getcontext)
 
 	.section .note.GNU-stack,"",%progbits


Property changes on: trunk/lib/libc/amd64/sys/getcontext.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/sys/pipe.S
===================================================================
--- trunk/lib/libc/amd64/sys/pipe.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/pipe.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
  * All rights reserved.
@@ -34,7 +35,7 @@
 	.asciz "@(#)pipe.s	5.1 (Berkeley) 4/23/90"
 #endif /* SYSLIBC_SCCS and not lint */
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/sys/pipe.S 240178 2012-09-06 20:59:49Z jilles $");
 
 #include "SYS.h"
 
@@ -45,18 +46,11 @@
 ENTRY(__sys_pipe)
 	mov	$SYS_pipe,%rax
 	KERNCALL
-	jb	1f
+	jb	HIDENAME(cerror)
 	movl	%eax,(%rdi)	/* %rdi is preserved by syscall */
 	movl	%edx,4(%rdi)
 	movq	$0,%rax
 	ret
-1:
-#ifdef PIC
-	movq	PIC_GOT(HIDENAME(cerror)),%rdx
-	jmp	*%rdx
-#else
-	jmp	HIDENAME(cerror)
-#endif
 END(__sys_pipe)
 
 	.section .note.GNU-stack,"",%progbits


Property changes on: trunk/lib/libc/amd64/sys/pipe.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Index: trunk/lib/libc/amd64/sys/ptrace.S
===================================================================
--- trunk/lib/libc/amd64/sys/ptrace.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/ptrace.S	2018-06-09 16:41:21 UTC (rev 10632)

Property changes on: trunk/lib/libc/amd64/sys/ptrace.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Index: trunk/lib/libc/amd64/sys/reboot.S
===================================================================
--- trunk/lib/libc/amd64/sys/reboot.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/reboot.S	2018-06-09 16:41:21 UTC (rev 10632)

Property changes on: trunk/lib/libc/amd64/sys/reboot.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/sys/sbrk.S
===================================================================
--- trunk/lib/libc/amd64/sys/sbrk.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/sbrk.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
  * All rights reserved.
@@ -34,7 +35,7 @@
 	.asciz "@(#)sbrk.s	5.1 (Berkeley) 4/23/90"
 #endif /* SYSLIBC_SCCS and not lint */
 #include <machine/asm.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/sys/sbrk.S 240178 2012-09-06 20:59:49Z jilles $");
 
 #include "SYS.h"
 
@@ -79,12 +80,7 @@
 	ret
 err:
 	addq	$8, %rsp
-#ifdef PIC
-	movq	PIC_GOT(HIDENAME(cerror)),%rdx
-	jmp	*%rdx
-#else
 	jmp	HIDENAME(cerror)
-#endif
 END(sbrk)
 
 	.section .note.GNU-stack,"",%progbits


Property changes on: trunk/lib/libc/amd64/sys/sbrk.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/sys/setlogin.S
===================================================================
--- trunk/lib/libc/amd64/sys/setlogin.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/setlogin.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -47,21 +47,9 @@
 ENTRY(__sys_setlogin)
 	mov	$SYS_setlogin,%rax
 	KERNCALL
-	jb	1f
-#ifdef PIC
-	movq	PIC_GOT(CNAME(_logname_valid)),%rdx
-	movl	$0,(%rdx)
-#else
+	jb	HIDENAME(cerror)
 	movl	$0,CNAME(_logname_valid)(%rip)
-#endif
 	ret				/* setlogin(name) */
-1:
-#ifdef PIC
-	movq	PIC_GOT(HIDENAME(cerror)),%rdx
-	jmp	*%rdx
-#else
-	jmp	HIDENAME(cerror)
-#endif
 END(__sys_setlogin)
 
 	.section .note.GNU-stack,"",%progbits


Property changes on: trunk/lib/libc/amd64/sys/setlogin.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Index: trunk/lib/libc/amd64/sys/sigreturn.S
===================================================================
--- trunk/lib/libc/amd64/sys/sigreturn.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/sigreturn.S	2018-06-09 16:41:21 UTC (rev 10632)

Property changes on: trunk/lib/libc/amd64/sys/sigreturn.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/lib/libc/amd64/sys/vfork.S
===================================================================
--- trunk/lib/libc/amd64/sys/vfork.S	2018-06-09 16:39:24 UTC (rev 10631)
+++ trunk/lib/libc/amd64/sys/vfork.S	2018-06-09 16:41:21 UTC (rev 10632)
@@ -50,12 +50,7 @@
 	jmp	*%rsi
 1:
 	pushq	%rsi
-#ifdef PIC
-	movq	PIC_GOT(HIDENAME(cerror)),%rdx
-	jmp	*%rdx
-#else
 	jmp	HIDENAME(cerror)
-#endif
 END(__sys_vfork)
 
 	.section .note.GNU-stack,"",%progbits


Property changes on: trunk/lib/libc/amd64/sys/vfork.S
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list