From owner-svn-src-all@freebsd.org Wed Feb 26 18:55:13 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8EB05240D51; Wed, 26 Feb 2020 18:55:13 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48SQ3M3DY7z3R3Q; Wed, 26 Feb 2020 18:55:10 +0000 (UTC) (envelope-from imp@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6FC4942B2; Wed, 26 Feb 2020 18:55:10 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 01QItAX9040238; Wed, 26 Feb 2020 18:55:10 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 01QIt9Ip040234; Wed, 26 Feb 2020 18:55:09 GMT (envelope-from imp@FreeBSD.org) Message-Id: <202002261855.01QIt9Ip040234@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Wed, 26 Feb 2020 18:55:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r358348 - in head/lib/libc: . gdtoa gen sparc64 sparc64/fpu sparc64/gen sparc64/sys sys X-SVN-Group: head X-SVN-Commit-Author: imp X-SVN-Commit-Paths: in head/lib/libc: . gdtoa gen sparc64 sparc64/fpu sparc64/gen sparc64/sys sys X-SVN-Commit-Revision: 358348 X-SVN-Commit-Repository: base 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.29 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: Wed, 26 Feb 2020 18:55:13 -0000 Author: imp Date: Wed Feb 26 18:55:09 2020 New Revision: 358348 URL: https://svnweb.freebsd.org/changeset/base/358348 Log: Remove sparc64 specific parts of libc. Also update comments for which architectures use 128 bit long doubles, as appropriate. The softfloat specialization routines weren't updated since they appear to be from an upstream source which we may want to update in the future to get a more favorable license. Reviewed by: emaste@ Differential Revision: https://reviews.freebsd.org/D23658 Deleted: head/lib/libc/sparc64/Makefile.inc head/lib/libc/sparc64/SYS.h head/lib/libc/sparc64/Symbol.map head/lib/libc/sparc64/_fpmath.h head/lib/libc/sparc64/arith.h head/lib/libc/sparc64/fpu/Makefile.inc head/lib/libc/sparc64/fpu/fpu.c head/lib/libc/sparc64/fpu/fpu_add.c head/lib/libc/sparc64/fpu/fpu_arith.h head/lib/libc/sparc64/fpu/fpu_compare.c head/lib/libc/sparc64/fpu/fpu_div.c head/lib/libc/sparc64/fpu/fpu_emu.h head/lib/libc/sparc64/fpu/fpu_explode.c head/lib/libc/sparc64/fpu/fpu_extern.h head/lib/libc/sparc64/fpu/fpu_implode.c head/lib/libc/sparc64/fpu/fpu_mul.c head/lib/libc/sparc64/fpu/fpu_qp.c head/lib/libc/sparc64/fpu/fpu_reg.S head/lib/libc/sparc64/fpu/fpu_reg.h head/lib/libc/sparc64/fpu/fpu_sqrt.c head/lib/libc/sparc64/fpu/fpu_subr.c head/lib/libc/sparc64/gd_qnan.h head/lib/libc/sparc64/gen/Makefile.inc head/lib/libc/sparc64/gen/_ctx_start.S head/lib/libc/sparc64/gen/_set_tp.c head/lib/libc/sparc64/gen/_setjmp.S head/lib/libc/sparc64/gen/assym.s head/lib/libc/sparc64/gen/fabs.S head/lib/libc/sparc64/gen/fixunsdfsi.S head/lib/libc/sparc64/gen/flt_rounds.c head/lib/libc/sparc64/gen/fpgetmask.c head/lib/libc/sparc64/gen/fpgetround.c head/lib/libc/sparc64/gen/fpgetsticky.c head/lib/libc/sparc64/gen/fpsetmask.c head/lib/libc/sparc64/gen/fpsetround.c head/lib/libc/sparc64/gen/infinity.c head/lib/libc/sparc64/gen/makecontext.c head/lib/libc/sparc64/gen/setjmp.S head/lib/libc/sparc64/gen/signalcontext.c head/lib/libc/sparc64/gen/sigsetjmp.S head/lib/libc/sparc64/static_tls.h head/lib/libc/sparc64/sys/Makefile.inc head/lib/libc/sparc64/sys/__sparc_sigtramp_setup.c head/lib/libc/sparc64/sys/__sparc_utrap.c head/lib/libc/sparc64/sys/__sparc_utrap_align.c head/lib/libc/sparc64/sys/__sparc_utrap_emul.c head/lib/libc/sparc64/sys/__sparc_utrap_fp_disabled.S head/lib/libc/sparc64/sys/__sparc_utrap_gen.S head/lib/libc/sparc64/sys/__sparc_utrap_install.c head/lib/libc/sparc64/sys/__sparc_utrap_private.h head/lib/libc/sparc64/sys/__sparc_utrap_setup.c head/lib/libc/sparc64/sys/assym.s head/lib/libc/sparc64/sys/cerror.S head/lib/libc/sparc64/sys/sigaction1.S head/lib/libc/sparc64/sys/sigcode.S Modified: head/lib/libc/Makefile head/lib/libc/gdtoa/machdep_ldisQ.c head/lib/libc/gen/tls.c head/lib/libc/sys/Makefile.inc Modified: head/lib/libc/Makefile ============================================================================== --- head/lib/libc/Makefile Wed Feb 26 18:55:03 2020 (r358347) +++ head/lib/libc/Makefile Wed Feb 26 18:55:09 2020 (r358348) @@ -97,7 +97,6 @@ NOASM= ${LIBC_ARCH} != "amd64" && \ ${LIBC_ARCH} != "powerpc64" && \ ${LIBC_ARCH} != "riscv" && \ - ${LIBC_ARCH} != "sparc64" && \ ${MACHINE_ARCH:Mmipsn32*} == "" && \ ${MACHINE_ARCH:Mmips64*} == "" .include "${LIBC_SRCTOP}/quad/Makefile.inc" Modified: head/lib/libc/gdtoa/machdep_ldisQ.c ============================================================================== --- head/lib/libc/gdtoa/machdep_ldisQ.c Wed Feb 26 18:55:03 2020 (r358347) +++ head/lib/libc/gdtoa/machdep_ldisQ.c Wed Feb 26 18:55:09 2020 (r358348) @@ -34,7 +34,7 @@ /* * Machine-dependent glue to integrate David Gay's gdtoa * package into libc for architectures where a long double - * uses quad precision, such as sparc64. + * uses quad precision, such as aarch64 or riscv. */ #include Modified: head/lib/libc/gen/tls.c ============================================================================== --- head/lib/libc/gen/tls.c Wed Feb 26 18:55:03 2020 (r358347) +++ head/lib/libc/gen/tls.c Wed Feb 26 18:55:09 2020 (r358348) @@ -74,8 +74,7 @@ void __libc_free_tls(void *tls, size_t tcbsize, size_t #if defined(__amd64__) #define TLS_TCB_ALIGN 16 #elif defined(__aarch64__) || defined(__arm__) || defined(__i386__) || \ - defined(__mips__) || defined(__powerpc__) || defined(__riscv) || \ - defined(__sparc64__) + defined(__mips__) || defined(__powerpc__) || defined(__riscv) #define TLS_TCB_ALIGN sizeof(void *) #else #error TLS_TCB_ALIGN undefined for target architecture @@ -85,7 +84,7 @@ void __libc_free_tls(void *tls, size_t tcbsize, size_t defined(__powerpc__) || defined(__riscv) #define TLS_VARIANT_I #endif -#if defined(__i386__) || defined(__amd64__) || defined(__sparc64__) +#if defined(__i386__) || defined(__amd64__) #define TLS_VARIANT_II #endif Modified: head/lib/libc/sys/Makefile.inc ============================================================================== --- head/lib/libc/sys/Makefile.inc Wed Feb 26 18:55:03 2020 (r358347) +++ head/lib/libc/sys/Makefile.inc Wed Feb 26 18:55:09 2020 (r358348) @@ -79,6 +79,7 @@ INTERPOSED = \ sendmsg \ sendto \ setcontext \ + sigaction \ sigprocmask \ sigsuspend \ sigtimedwait \ @@ -89,13 +90,6 @@ INTERPOSED = \ wait6 \ write \ writev - -.if ${MACHINE_CPUARCH} == "sparc64" -SRCS+= sigaction.c -NOASM+= sigaction.o -.else -INTERPOSED+= sigaction -.endif SRCS+= ${INTERPOSED:S/$/.c/} NOASM+= ${INTERPOSED:S/$/.o/}