From nobody Thu Nov 09 20:24:43 2023 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 4SRD2h0WJhz50Mrt; Thu, 9 Nov 2023 20:24:44 +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 4SRD2h03jVz3X7d; Thu, 9 Nov 2023 20:24:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699561484; 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=46RHA+yoA02Fhnu1E0GDa18tWRqBUYEr2vXTr1fuaMU=; b=wZUDFyEStzzxOxgX31HPP2XI5daP0YaxuS3ug9cI0QmXlntnhHfI60Fehw06rW0+QzKPCC 6ITGOuocuk6JIwutHkrWy5dFuAqQLnk9rMp9csZC5AAY8V245FA1PIF4eJGWD7A4P+AsEP Hh2K84N4gvT/kS9T1YbCdVv97+8lT6sg5TWWPj0PmRm6dYUTQXDjRjY3S9BxDI2xTkKDU1 HBtZTFyeEaxnszlqFSJ6PMl3pN3FF5EgIiPdwpS9EcSPkzYHo39Q+6Cwq6z7fgXMr2NOYp XtyTkOtdWWOSoSMK93YEJy7PnCuTan1slGgJ+OWkuuCkGwS/qIcMogG8mXadCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699561484; 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=46RHA+yoA02Fhnu1E0GDa18tWRqBUYEr2vXTr1fuaMU=; b=ND4mrAETIx5qR1WeWaXTMIS9O9jVHCX9oEcr/zw7cGKiZbDZB82B7GrCLWy34xK/zIihOk fJ8BF7di8p7BokFqXid7LLIcbb6+s0SfYN45tDgobIalftDBxrNPHgsNNw5tS0xWSkEkDe UzrxfKL6VWk6K156rLF4aJAJJ/NX3uTruJwbC0wk5RPOjhOxQLDNRsKjd7nzz+A4SFyaBj wOLX8usx0wHGuqVwg4RNm2P5A30eP5gpTj5O/B0WdNfEiyZeVVPxOupGolqYHMaDNiDY1I nGDAZBDOfflkvz1Dg6PI14Eb15c7c/bYGupdJ44Upky1V9Jp/0TJqfonk35lTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699561484; a=rsa-sha256; cv=none; b=jMAdwpIn1Fe9+ytL6juiJF6RDCCMf2+N6hgnm3RwI0DNfRUClTa4XML+sjeuT3My5OzGJW xOd/MRqpAQzMDfZiDiDbap1AKlJ+g7VQtJDDq+HCufsUeN5NolV3babE8IFg/4UHvda/W/ 28TkHIrtwxqJu60NBZOqB7BBjTCTYuD34Rk/2ZIY4RQjN35QEbP6RZoYO0LjlSrs+9sD/A hnMRN1r8gwMXSEO8H7PXDAzLyLwP9bxIUqkC8NWBtcGjCD2ZAjbyXXo1pjp5WtQTcFQ3dM ndM/3WKKo/hV2eAD4uo5hluzcTyZWx4IkOxuJG7IDaAQugKjzYVhYhUbHOs+mQ== 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 4SRD2g6Dh9zTtv; Thu, 9 Nov 2023 20:24:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A9KOhhK049596; Thu, 9 Nov 2023 20:24:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A9KOhvF049593; Thu, 9 Nov 2023 20:24:43 GMT (envelope-from git) Date: Thu, 9 Nov 2023 20:24:43 GMT Message-Id: <202311092024.3A9KOhvF049593@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: 6e5b1ff71e01 - main - 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6e5b1ff71e01bd48172483cb6df921f84300ea3a Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=6e5b1ff71e01bd48172483cb6df921f84300ea3a commit 6e5b1ff71e01bd48172483cb6df921f84300ea3a Author: R. Christian McDonald AuthorDate: 2023-11-09 20:22:21 +0000 Commit: Kristof Provost CommitDate: 2023-11-09 20:24:23 +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 Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D42445 --- lib/libc/Makefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 7540eb8c21ad..e817104642b8 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.