From nobody Mon Jan 03 15:00:49 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 076DF193685F; Mon, 3 Jan 2022 15:00:50 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JSJpT4r27z3qNQ; Mon, 3 Jan 2022 15:00:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7D15727553; Mon, 3 Jan 2022 15:00:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 203F0nAj056675; Mon, 3 Jan 2022 15:00:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 203F0nKj056674; Mon, 3 Jan 2022 15:00:49 GMT (envelope-from git) Date: Mon, 3 Jan 2022 15:00:49 GMT Message-Id: <202201031500.203F0nKj056674@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 98e58025a5af - main - bsd.lib/prog.mk: Remove special case for mips List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 98e58025a5af1b7f4c1051079d5c8417bf8f6133 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641222049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Pf10uJhz3lfuFZlemXajzE4/lLjyjKvG8Gc/VyZJylk=; b=ybs49ZFpnBqZMlqNG3tINVnkDO/kxnTmEOsDFAIB3FaaAN3AH1e84/4jb35XHsc//0xWcj 28DTmyK9zFg69qa1/YIQ+iWD5A/1NZ6dDPQpXg0toXtTy2jzSVDlp5VPkjQY4hdVzfFNrt Wwh7f1GBW4gx1Xb+3v63E/1an31U6OuU2yaBNLa71ziZOzcsplcbUDQqe9TnOVjcIC5Lms g0Jhwz13ZYOQptFJutHY/4aqngIkc/hPYJnIa+rYihwT3h9d3cNmr0rPke5II2jLNOTwAZ q1M1a1bDbOOMBapY54pZZAai9Z+P2g0YmbiLAKLYsWtbqZsUSOfP7E2khtjv6A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641222049; a=rsa-sha256; cv=none; b=IzCE/npqZVH/p3mvDb01OvHna+AUTU42cKHiKTfnmVg2cTTPavBcUnLf6Whr8ImZSKsuXD o7kE9bCc+CkNc2amPFPxTDrOxdNgCFC3CUwkkRjq67hIgge92rJaFRY+JSSGLWwZ1CcN0z ZC8jAB0eL1Yiobpw3c+yiV4hNz+5SYljLnIQp/qHeqZ50gZgxtjLVhGNFr1/1Ef8DTXuSG JS0KkiG7Q8W+3PQ7KHU3HDRBKTYBCnMIHAtBuHwsky2O1MKOyM8ElBfObgfJg+sdOKYse3 sjImcgUxYQRHLj9Ta3HTlBCXS0kKTQUNLh8pwlPf+MRDEB/reU4v2iR7Smpd5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=98e58025a5af1b7f4c1051079d5c8417bf8f6133 commit 98e58025a5af1b7f4c1051079d5c8417bf8f6133 Author: Warner Losh AuthorDate: 2022-01-02 01:00:22 +0000 Commit: Warner Losh CommitDate: 2022-01-03 15:00:08 +0000 bsd.lib/prog.mk: Remove special case for mips We no longer need to set the TLS model for mips64*. Sponsored by: Netflix --- share/mk/bsd.lib.mk | 6 ------ share/mk/bsd.prog.mk | 5 ----- 2 files changed, 11 deletions(-) diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 28c159689e71..5c7b73c5a8a9 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -123,12 +123,6 @@ CXXFLAGS+= ${DEBUG_FILES_CFLAGS} CTFFLAGS+= -g .endif -# clang currently defaults to dynamic TLS for mips64 object files without -fPIC -.if ${MACHINE_ARCH:Mmips64*} && ${COMPILER_TYPE} == "clang" -STATIC_CFLAGS+= -ftls-model=initial-exec -STATIC_CXXFLAGS+= -ftls-model=initial-exec -.endif - .if ${MACHINE_CPUARCH} == "riscv" && ${LINKER_FEATURES:Mriscv-relaxations} == "" CFLAGS += -mno-relax .endif diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index 437ccf373130..6b8da09edaf0 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -117,11 +117,6 @@ TAG_ARGS= -T ${TAGS:[*]:S/ /,/g} LDFLAGS+= -static .endif -# clang currently defaults to dynamic TLS for mips64 binaries -.if ${MACHINE_ARCH:Mmips64*} && ${COMPILER_TYPE} == "clang" -CFLAGS+= -ftls-model=initial-exec -.endif - .if ${MK_DEBUG_FILES} != "no" PROG_FULL=${PROG}.full # Use ${DEBUGDIR} for base system debug files, else .debug subdirectory