From nobody Fri Nov 22 15:38:07 2024 X-Original-To: dev-commits-src-all@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 4Xvzl36xW7z5f2H6; Fri, 22 Nov 2024 15:38:07 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xvzl35fsnz3x4v; Fri, 22 Nov 2024 15:38:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732289887; 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=dHa4CeLbg10cfwQBGq5ey1i6i10etQfPDIb9L+vw2LI=; b=yxK3BxLco33sBGJDnp2ZSFy1LOiqqx0hSlpCTELpSm/E4NuUhFY+iXXJeqaEHHRgrTbFF4 Z6fkAtyVCc7M1aFyGV+KOcotDvKTzv7F+dfsIrm2GND6F4z++AXl6QzQCe1y1oouXfM7+C i8znbJW7/u0DbfdwoM0tjCLdEwhMUdZqIaTfzm8RsB845PLU1ZZusLJ1itVvjRfEOgBfzr ze9eydU0kmL7wjf/7imivEqxadNdbLsBpRmIJLUBDlVgTcYSj9hL05MhRVZ79WXKtShM6Z JiYgkHHE6LL1eCMYX8jQl+uA6YLKko3bhqgKQudJZt4Tem+2wU/G0OwadZIxGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732289887; 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=dHa4CeLbg10cfwQBGq5ey1i6i10etQfPDIb9L+vw2LI=; b=npm27ZVIPhYZqiZMyCcYJ+E5YMca3XqfoMs+gVIZTPaVKpLd10Fqzz+/cBFnV3RJPty9pv j4oEM+P2wEBxrvOXbJ84+VL+3Rm9Gu+Wl8+AIYqCYLObezleByoId7L/Shsq3NIrT6J8Yu aMkMxcbvCwsd0hebTHUnv/Jn0XdrcThOOcZ2cFt5DOUaYc/xQtTF9oPUWvS2iLqTSeA8Xq rCc9ZmfFao0VH+tiFHXsWEg6zrKfgpR16hxQzrjyVw//Fr6DfixfmAqvUcsfshHZV2585m 8EVbUp6zIhP7did7LX2WgcdCyF8bW1N30ry52/ih3qqgjhitkRim+RvCmg4o7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732289887; a=rsa-sha256; cv=none; b=r6p2yiRQUDtPdMsGMNgZbPpJUJVZe0NbJnK0v4QyFkrWLlpZcwlQNA7RRDFl2o41lBmo0i c+MJ50eKp8ca2Te2L7JswZG33KkCClY62g1fnltHxIaPsv+773QzJZ47WSFoBLAcThaT0K 9oQQ14mWi3Ig6IAdpKJ6H5p13Su/JXMGbHxiq6hKiTJ305ui+WMIrkEaRYLBcUu8W6Ipz0 TBxaBxCdpo09imzD4EAjmhLOEotUJlYZyReInHqd7ZC7zDon1Ai4UUpkFS9nl5QENqzbTc rwg51vj9MX+JtEVngCWN8gJf1jPL+OUSkedw4Qa/DV5WizdO927PdswCgfwrGA== 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 4Xvzl35GL2zWPt; Fri, 22 Nov 2024 15:38:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AMFc7uo036085; Fri, 22 Nov 2024 15:38:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AMFc755036082; Fri, 22 Nov 2024 15:38:07 GMT (envelope-from git) Date: Fri, 22 Nov 2024 15:38:07 GMT Message-Id: <202411221538.4AMFc755036082@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "R. Christian McDonald" Subject: git: f424c4a907e1 - stable/14 - libc: enable initial-exec (IE) as default thread-local storage model on arm List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rcm X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: f424c4a907e12259fbc148d1dd0be13cf4025916 Auto-Submitted: auto-generated The branch stable/14 has been updated by rcm: URL: https://cgit.FreeBSD.org/src/commit/?id=f424c4a907e12259fbc148d1dd0be13cf4025916 commit f424c4a907e12259fbc148d1dd0be13cf4025916 Author: R. Christian McDonald AuthorDate: 2023-11-09 20:22:21 +0000 Commit: R. Christian McDonald CommitDate: 2024-11-22 15:36:32 +0000 libc: enable initial-exec (IE) as default thread-local storage model on arm As suggested by jrtc27@ in https://reviews.freebsd.org/D42415, this patch enables IE as default thread-local storage model in libc on arm. Reviewed by: kib Approved by: kp (mentor) Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D42445 (cherry picked from commit 6e5b1ff71e01bd48172483cb6df921f84300ea3a) --- lib/libc/Makefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/libc/Makefile b/lib/libc/Makefile index fbfd6619784d..d887e0808ceb 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -54,11 +54,7 @@ CFLAGS+=${CANCELPOINTS_CFLAGS} # Use a more efficient TLS model for libc since we can reasonably assume that # it will be loaded during program startup. -.if ${LIBC_ARCH} == "aarch64" || ${LIBC_ARCH} == "amd64" || \ - ${LIBC_ARCH} == "i386" || ${LIBC_ARCH} == "riscv" || \ - ${LIBC_ARCH:Mpowerpc*} != "" CFLAGS+= -ftls-model=initial-exec -.endif # # Link with static libcompiler_rt.a.