From owner-svn-src-all@freebsd.org Thu Mar 2 17:07:30 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C41ACF5B97; Thu, 2 Mar 2017 17:07:30 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 5CD5DAF7; Thu, 2 Mar 2017 17:07:30 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v22H7TxB088024; Thu, 2 Mar 2017 17:07:29 GMT (envelope-from brooks@FreeBSD.org) Received: (from brooks@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v22H7SpX088014; Thu, 2 Mar 2017 17:07:28 GMT (envelope-from brooks@FreeBSD.org) Message-Id: <201703021707.v22H7SpX088014@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brooks set sender to brooks@FreeBSD.org using -f From: Brooks Davis Date: Thu, 2 Mar 2017 17:07:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r314557 - in head/lib/libc: aarch64 amd64 arm i386 mips powerpc powerpc64 powerpcspe riscv sparc64 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2017 17:07:30 -0000 Author: brooks Date: Thu Mar 2 17:07:28 2017 New Revision: 314557 URL: https://svnweb.freebsd.org/changeset/base/314557 Log: Correct an misunderstanding of MDSRCS. MDSRCS it intended to allow assembly versions of funtions with C implementations listed in MISRCS. The selection of the correct machdep_ldis?.c for a given architecture does not follow this pattern and the file should be added to SRCS directly. Reviewed by: emaste, imp, jhb MFC after: 1 week Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D9841 Modified: head/lib/libc/aarch64/Makefile.inc head/lib/libc/amd64/Makefile.inc head/lib/libc/arm/Makefile.inc head/lib/libc/i386/Makefile.inc head/lib/libc/mips/Makefile.inc head/lib/libc/powerpc/Makefile.inc head/lib/libc/powerpc64/Makefile.inc head/lib/libc/powerpcspe/Makefile.inc head/lib/libc/riscv/Makefile.inc head/lib/libc/sparc64/Makefile.inc Modified: head/lib/libc/aarch64/Makefile.inc ============================================================================== --- head/lib/libc/aarch64/Makefile.inc Thu Mar 2 17:05:52 2017 (r314556) +++ head/lib/libc/aarch64/Makefile.inc Thu Mar 2 17:07:28 2017 (r314557) @@ -5,5 +5,5 @@ # Long double is quad precision GDTOASRCS+=strtorQ.c -MDSRCS+=machdep_ldisQ.c +SRCS+=machdep_ldisQ.c SYM_MAPS+=${LIBC_SRCTOP}/aarch64/Symbol.map Modified: head/lib/libc/amd64/Makefile.inc ============================================================================== --- head/lib/libc/amd64/Makefile.inc Thu Mar 2 17:05:52 2017 (r314556) +++ head/lib/libc/amd64/Makefile.inc Thu Mar 2 17:07:28 2017 (r314557) @@ -5,5 +5,5 @@ # Long double is 80 bits GDTOASRCS+=strtorx.c -MDSRCS+=machdep_ldisx.c +SRCS+=machdep_ldisx.c SYM_MAPS+=${LIBC_SRCTOP}/amd64/Symbol.map Modified: head/lib/libc/arm/Makefile.inc ============================================================================== --- head/lib/libc/arm/Makefile.inc Thu Mar 2 17:05:52 2017 (r314556) +++ head/lib/libc/arm/Makefile.inc Thu Mar 2 17:07:28 2017 (r314557) @@ -6,7 +6,7 @@ SOFTFLOAT_BITS=32 # Long double is just double precision. -MDSRCS+=machdep_ldisd.c +SRCS+=machdep_ldisd.c SYM_MAPS+=${LIBC_SRCTOP}/arm/Symbol.map .include "${LIBC_SRCTOP}/arm/aeabi/Makefile.inc" Modified: head/lib/libc/i386/Makefile.inc ============================================================================== --- head/lib/libc/i386/Makefile.inc Thu Mar 2 17:05:52 2017 (r314556) +++ head/lib/libc/i386/Makefile.inc Thu Mar 2 17:07:28 2017 (r314557) @@ -2,5 +2,5 @@ # Long double is 80 bits GDTOASRCS+=strtorx.c -MDSRCS+=machdep_ldisx.c +SRCS+=machdep_ldisx.c SYM_MAPS+=${LIBC_SRCTOP}/i386/Symbol.map Modified: head/lib/libc/mips/Makefile.inc ============================================================================== --- head/lib/libc/mips/Makefile.inc Thu Mar 2 17:05:52 2017 (r314556) +++ head/lib/libc/mips/Makefile.inc Thu Mar 2 17:07:28 2017 (r314557) @@ -5,5 +5,5 @@ CFLAGS+=-DSOFTFLOAT .endif -MDSRCS+= machdep_ldisd.c +SRCS+= machdep_ldisd.c SYM_MAPS+= ${LIBC_SRCTOP}/mips/Symbol.map Modified: head/lib/libc/powerpc/Makefile.inc ============================================================================== --- head/lib/libc/powerpc/Makefile.inc Thu Mar 2 17:05:52 2017 (r314556) +++ head/lib/libc/powerpc/Makefile.inc Thu Mar 2 17:07:28 2017 (r314557) @@ -3,5 +3,5 @@ SRCS+= trivial-vdso_tc.c # Long double is 64-bits -MDSRCS+=machdep_ldisd.c +SRCS+=machdep_ldisd.c SYM_MAPS+=${LIBC_SRCTOP}/powerpc/Symbol.map Modified: head/lib/libc/powerpc64/Makefile.inc ============================================================================== --- head/lib/libc/powerpc64/Makefile.inc Thu Mar 2 17:05:52 2017 (r314556) +++ head/lib/libc/powerpc64/Makefile.inc Thu Mar 2 17:07:28 2017 (r314557) @@ -3,5 +3,5 @@ SRCS+= trivial-vdso_tc.c # Long double is 64-bits -MDSRCS+=machdep_ldisd.c +SRCS+=machdep_ldisd.c SYM_MAPS+=${LIBC_SRCTOP}/powerpc64/Symbol.map Modified: head/lib/libc/powerpcspe/Makefile.inc ============================================================================== --- head/lib/libc/powerpcspe/Makefile.inc Thu Mar 2 17:05:52 2017 (r314556) +++ head/lib/libc/powerpcspe/Makefile.inc Thu Mar 2 17:07:28 2017 (r314557) @@ -4,5 +4,5 @@ CFLAGS+= -I${LIBC_SRCTOP}/powerpc SRCS+= trivial-vdso_tc.c # Long double is 64-bits -MDSRCS+=machdep_ldisd.c +SRCS+=machdep_ldisd.c SYM_MAPS+=${LIBC_SRCTOP}/powerpc/Symbol.map Modified: head/lib/libc/riscv/Makefile.inc ============================================================================== --- head/lib/libc/riscv/Makefile.inc Thu Mar 2 17:05:52 2017 (r314556) +++ head/lib/libc/riscv/Makefile.inc Thu Mar 2 17:07:28 2017 (r314557) @@ -9,5 +9,5 @@ CFLAGS+=-DSOFTFLOAT # Long double is quad precision GDTOASRCS+=strtorQ.c -MDSRCS+=machdep_ldisQ.c +SRCS+=machdep_ldisQ.c SYM_MAPS+=${LIBC_SRCTOP}/riscv/Symbol.map Modified: head/lib/libc/sparc64/Makefile.inc ============================================================================== --- head/lib/libc/sparc64/Makefile.inc Thu Mar 2 17:05:52 2017 (r314556) +++ head/lib/libc/sparc64/Makefile.inc Thu Mar 2 17:07:28 2017 (r314557) @@ -9,5 +9,5 @@ SRCS+= trivial-vdso_tc.c # Long double is quad precision GDTOASRCS+=strtorQ.c -MDSRCS+=machdep_ldisQ.c +SRCS+=machdep_ldisQ.c SYM_MAPS+=${LIBC_SRCTOP}/sparc64/Symbol.map