From owner-svn-src-head@FreeBSD.ORG Sat Apr 5 17:54:46 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6BD4D584; Sat, 5 Apr 2014 17:54:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 563F8BB7; Sat, 5 Apr 2014 17:54:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s35HskRK007583; Sat, 5 Apr 2014 17:54:46 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s35HsiWU007565; Sat, 5 Apr 2014 17:54:44 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201404051754.s35HsiWU007565@svn.freebsd.org> From: Warner Losh Date: Sat, 5 Apr 2014 17:54:44 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r264155 - in head: lib/libc/amd64/sys lib/libc/arm/sys lib/libc/i386/sys lib/libc/ia64/sys lib/libc/mips/sys lib/libc/powerpc/sys lib/libc/powerpc64/sys lib/libc/sparc64/sys lib/libc/sy... X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2014 17:54:46 -0000 Author: imp Date: Sat Apr 5 17:54:43 2014 New Revision: 264155 URL: http://svnweb.freebsd.org/changeset/base/264155 Log: Convert from WITHOUT_SYSCALL_COMPAT to MK_SYSCALL_COMPAT. Modified: head/lib/libc/amd64/sys/Makefile.inc head/lib/libc/arm/sys/Makefile.inc head/lib/libc/i386/sys/Makefile.inc head/lib/libc/ia64/sys/Makefile.inc head/lib/libc/mips/sys/Makefile.inc head/lib/libc/powerpc/sys/Makefile.inc head/lib/libc/powerpc64/sys/Makefile.inc head/lib/libc/sparc64/sys/Makefile.inc head/lib/libc/sys/Makefile.inc head/lib/libthr/Makefile head/share/mk/bsd.own.mk Modified: head/lib/libc/amd64/sys/Makefile.inc ============================================================================== --- head/lib/libc/amd64/sys/Makefile.inc Sat Apr 5 17:54:36 2014 (r264154) +++ head/lib/libc/amd64/sys/Makefile.inc Sat Apr 5 17:54:43 2014 (r264155) @@ -11,6 +11,6 @@ MDASM= vfork.S brk.S cerror.S exect.S ge NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.o PSEUDO= _getlogin.o _exit.o -.if !defined(WITHOUT_SYSCALL_COMPAT) +.if ${MK_SYSCALL_COMPAT} != "no" PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o .endif Modified: head/lib/libc/arm/sys/Makefile.inc ============================================================================== --- head/lib/libc/arm/sys/Makefile.inc Sat Apr 5 17:54:36 2014 (r264154) +++ head/lib/libc/arm/sys/Makefile.inc Sat Apr 5 17:54:43 2014 (r264155) @@ -8,6 +8,6 @@ MDASM= Ovfork.S brk.S cerror.S pipe.S pt NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.o PSEUDO= _exit.o _getlogin.o -.if !defined(WITHOUT_SYSCALL_COMPAT) +.if ${MK_SYSCALL_COMPAT} != "no" PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o .endif Modified: head/lib/libc/i386/sys/Makefile.inc ============================================================================== --- head/lib/libc/i386/sys/Makefile.inc Sat Apr 5 17:54:36 2014 (r264154) +++ head/lib/libc/i386/sys/Makefile.inc Sat Apr 5 17:54:43 2014 (r264155) @@ -15,7 +15,7 @@ MDASM= Ovfork.S brk.S cerror.S exect.S g NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.o PSEUDO= _getlogin.o _exit.o -.if !defined(WITHOUT_SYSCALL_COMPAT) +.if ${MK_SYSCALL_COMPAT} != "no" PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o .endif Modified: head/lib/libc/ia64/sys/Makefile.inc ============================================================================== --- head/lib/libc/ia64/sys/Makefile.inc Sat Apr 5 17:54:36 2014 (r264154) +++ head/lib/libc/ia64/sys/Makefile.inc Sat Apr 5 17:54:43 2014 (r264155) @@ -9,6 +9,6 @@ MDASM+= Ovfork.S brk.S cerror.S exect.S NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o vfork.o yield.o PSEUDO= _getlogin.o _exit.o -.if !defined(WITHOUT_SYSCALL_COMPAT) +.if ${MK_SYSCALL_COMPAT} != "no" PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o .endif Modified: head/lib/libc/mips/sys/Makefile.inc ============================================================================== --- head/lib/libc/mips/sys/Makefile.inc Sat Apr 5 17:54:36 2014 (r264154) +++ head/lib/libc/mips/sys/Makefile.inc Sat Apr 5 17:54:43 2014 (r264155) @@ -10,6 +10,6 @@ NOASM= break.o exit.o ftruncate.o getlog openbsd_poll.o pread.o pwrite.o sstk.o truncate.o vfork.o yield.o PSEUDO= _exit.o _getlogin.o -.if !defined(WITHOUT_SYSCALL_COMPAT) +.if ${MK_SYSCALL_COMPAT} != "no" PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o .endif Modified: head/lib/libc/powerpc/sys/Makefile.inc ============================================================================== --- head/lib/libc/powerpc/sys/Makefile.inc Sat Apr 5 17:54:36 2014 (r264154) +++ head/lib/libc/powerpc/sys/Makefile.inc Sat Apr 5 17:54:43 2014 (r264155) @@ -6,6 +6,6 @@ MDASM+= brk.S cerror.S exect.S pipe.S pt NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o yield.o PSEUDO= _getlogin.o _exit.o -.if !defined(WITHOUT_SYSCALL_COMPAT) +.if ${MK_SYSCALL_COMPAT} != "no" PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o .endif Modified: head/lib/libc/powerpc64/sys/Makefile.inc ============================================================================== --- head/lib/libc/powerpc64/sys/Makefile.inc Sat Apr 5 17:54:36 2014 (r264154) +++ head/lib/libc/powerpc64/sys/Makefile.inc Sat Apr 5 17:54:43 2014 (r264155) @@ -6,6 +6,6 @@ MDASM+= brk.S cerror.S exect.S pipe.S pt NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o yield.o PSEUDO= _getlogin.o _exit.o -.if !defined(WITHOUT_SYSCALL_COMPAT) +.if ${MK_SYSCALL_COMPAT} != "no" PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o .endif Modified: head/lib/libc/sparc64/sys/Makefile.inc ============================================================================== --- head/lib/libc/sparc64/sys/Makefile.inc Sat Apr 5 17:54:36 2014 (r264154) +++ head/lib/libc/sparc64/sys/Makefile.inc Sat Apr 5 17:54:43 2014 (r264155) @@ -18,6 +18,6 @@ MDASM+= brk.S cerror.S exect.S pipe.S pt NOASM= break.o exit.o getlogin.o openbsd_poll.o sstk.o yield.o PSEUDO= _getlogin.o _exit.o -.if !defined(WITHOUT_SYSCALL_COMPAT) +.if ${MK_SYSCALL_COMPAT} != "no" PSEUDO+= _pread.o _pwrite.o _lseek.o _mmap.o _ftruncate.o _truncate.o .endif Modified: head/lib/libc/sys/Makefile.inc ============================================================================== --- head/lib/libc/sys/Makefile.inc Sat Apr 5 17:54:36 2014 (r264154) +++ head/lib/libc/sys/Makefile.inc Sat Apr 5 17:54:43 2014 (r264155) @@ -21,7 +21,7 @@ PSEUDO+= _clock_gettime.o _gettimeofday. # Sources common to both syscall interfaces: SRCS+= stack_protector.c stack_protector_compat.c __error.c -.if !defined(WITHOUT_SYSCALL_COMPAT) +.if ${MK_SYSCALL_COMPAT} != "no" SYSCALL_COMPAT_SRCS= fcntl.c ftruncate.c lseek.c mmap.c pread.c \ pwrite.c truncate.c SRCS+= ${SYSCALL_COMPAT_SRCS} Modified: head/lib/libthr/Makefile ============================================================================== --- head/lib/libthr/Makefile Sat Apr 5 17:54:36 2014 (r264154) +++ head/lib/libthr/Makefile Sat Apr 5 17:54:43 2014 (r264155) @@ -60,7 +60,7 @@ SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthr SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a .endif -.if !defined(WITHOUT_SYSCALL_COMPAT) +.if ${MK_SYSCALL_COMPAT} != "no" CFLAGS+=-DSYSCALL_COMPAT .endif Modified: head/share/mk/bsd.own.mk ============================================================================== --- head/share/mk/bsd.own.mk Sat Apr 5 17:54:36 2014 (r264154) +++ head/share/mk/bsd.own.mk Sat Apr 5 17:54:43 2014 (r264155) @@ -334,6 +334,7 @@ __DEFAULT_YES_OPTIONS = \ SSP \ SVNLITE \ SYMVER \ + SYSCALL_COMPAT \ SYSCONS \ SYSINSTALL \ TCSH \