From nobody Fri Nov 22 15:42:15 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 4Xvzqr20sPz5f2kn; Fri, 22 Nov 2024 15:42:16 +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 4Xvzqr0R64z3yhj; Fri, 22 Nov 2024 15:42:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732290136; 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=69BRMs9Se7gNilHyaupdLZA1MjAiBx5Y1VwZEz9oz+I=; b=yaHd9wSEPI81XJV7jru6/1oEctwlxfqmDF8fRedB7L1VUndaHCtmG6e2XmaASw9SK99vLH wEMB1e7BGGw2DTaf6XxDCaG5QvwBD2m7AT/EyI71XQx2oIJLFizG8KUhV0hcHdxAjAetuz 9uoN7dNJwUS8WlzJQVNqbbR4nP2C45A5Qa4gdcZHFGpByFGQ2EAbIWoEVSfj9lznfXvQyQ Qpskn1JcQHDieuwdSM64mFFKAy6sgORryPaUN1AticEN+jYAzo+U/b+L+LB6jSSKCJJgM4 5Pg3R7eCE2NC14QMqFSveV2f7S39+kg/ZG0WZ70cpY/EJppXSIO68M3V8+92WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732290136; 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=69BRMs9Se7gNilHyaupdLZA1MjAiBx5Y1VwZEz9oz+I=; b=U4cHNhi4RZ/hDYxTAppjhR0A1jl/vuvnaF2l06qb15ILVG9mw2HUw5/avnc1Y69J1pc2Lx 7V7LVrQVDdsg39KbTQ1YJdSldxr+Jy3iRqXKkkt+5aU/83cUxgUo9tPSyUd+ppn02EG8eE YYFq6BNaX3JrME1ImevvURxfbi+D6bGW4t2XSiferWX0CYQKi2Dk2LxKSrtoDVFmGgGn7L xc/S8H7rIqwO4/iQvBrQnRZEIwbV0PG4EgSCd4KA4Jw+iEFCUt2wbRUS17Mmsn5OQlyR1X TS2WxT4wDOYB9SZ3oX2/XDfUM9aFj0qEZGmsnvEPdb+5P2Bc4H1b6dpuvk+h9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732290136; a=rsa-sha256; cv=none; b=ha2GDsKkJZOyY66D4bzZMkhDEpkYiUFDaHfnL4yaIGJAk9Q/v6c8wymQaG3BZdKHi2ePPd 2DMTY/6hFRhdk9mvOvL60zEZDmHj9DIHH420CwiPPwixbwd7GKgWX+gdfQn6ey78vYV/UY gBTPG17jB6/jJ/BuLNllE4sOHh8355rOHzDSB7Tx/jaKpa68yx3RXMtZa7z8GD7RzSZXWt Zoh0/E+defCUs/GrMix5UWbqYdHNZcFst4WjYco9cX1FxAovNJLMHLg0wKkSjGDtFSYIdG s5qWgpjuShmz09YrvcOcsLeTSNQhxEEy0qCR+S8aXhohLO3nsHbwVfiCxIS/VA== 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 4Xvzqr03B0zWv4; Fri, 22 Nov 2024 15:42:16 +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 4AMFgFoV052447; Fri, 22 Nov 2024 15:42:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AMFgF4o052444; Fri, 22 Nov 2024 15:42:15 GMT (envelope-from git) Date: Fri, 22 Nov 2024 15:42:15 GMT Message-Id: <202411221542.4AMFgF4o052444@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: c364608261d1 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: c364608261d17d2d6aa0ff64085bcf908b8fb5a0 Auto-Submitted: auto-generated The branch stable/13 has been updated by rcm: URL: https://cgit.FreeBSD.org/src/commit/?id=c364608261d17d2d6aa0ff64085bcf908b8fb5a0 commit c364608261d17d2d6aa0ff64085bcf908b8fb5a0 Author: R. Christian McDonald AuthorDate: 2023-11-09 20:22:21 +0000 Commit: R. Christian McDonald CommitDate: 2024-11-22 15:41:47 +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 9ea1f38d4076..5601b5432592 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -55,11 +55,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.