From patchwork Thu Apr 16 13:43:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Metcalf X-Patchwork-Id: 6261 Received: (qmail 12680 invoked by alias); 16 Apr 2015 13:43:42 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 12665 invoked by uid 89); 16 Apr 2015 13:43:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL, BAYES_40, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: emea01-db3-obe.outbound.protection.outlook.com Authentication-Results: spf=fail (sender IP is 12.216.194.146) smtp.mailfrom=ezchip.com; ezchip.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of ezchip.com does not designate 12.216.194.146 as permitted sender) receiver=protection.outlook.com; client-ip=12.216.194.146; helo=ld-1.internal.tilera.com; From: Chris Metcalf To: CC: Chris Metcalf Subject: [COMMITTED] tile: Enable PI_STATIC_AND_HIDDEN Date: Thu, 16 Apr 2015 09:43:09 -0400 Message-ID: <1429191789-21077-1-git-send-email-cmetcalf@ezchip.com> In-Reply-To: <20150415211138.1A7542C3BC1@topped-with-meat.com> References: <20150415211138.1A7542C3BC1@topped-with-meat.com> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:12.216.194.146; CTRY:US; IPV:NLI; EFV:NLI; BMV:1; SFV:NSPM; SFS:(10009020)(6009001)(339900001)(199003)(377424004)(189002)(50466002)(33646002)(48376002)(2351001)(229853001)(62966003)(77156002)(47776003)(50226001)(110136001)(104016003)(42186005)(46102003)(92566002)(2950100001)(106466001)(450100001)(76176999)(86362001)(105606002)(85426001)(6806004)(19580395003)(19580405001)(50986999)(87936001)(36756003)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR02MB0780; H:ld-1.internal.tilera.com; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:HE1PR02MB0780; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:HE1PR02MB1051; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(5002010); SRVR:HE1PR02MB0780; BCL:0; PCL:0; RULEID:; SRVR:HE1PR02MB0780; X-Forefront-PRVS: 0548586081 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2015 13:43:30.9139 (UTC) X-MS-Exchange-CrossTenant-Id: 0fc16e0a-3cd3-4092-8b2f-0a42cff122c3 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0fc16e0a-3cd3-4092-8b2f-0a42cff122c3; Ip=[12.216.194.146]; Helo=[ld-1.internal.tilera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR02MB0780 X-OriginatorOrg: ezchip.com This does make ld.so very slightly larger (0.3%) and doesn't seem to actually improve performance; in fact, my limited testing suggested a slight (0.1%) performance decrease (running fork/exec of a no-op program in a loop), but I didn't do enough testing to establish statistical significance. However, Roland agrees that it makes sense to switch tile to using this path, since it's the more standard way. --- ChangeLog | 5 +++++ sysdeps/tile/configure | 7 +++++++ sysdeps/tile/configure.ac | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 sysdeps/tile/configure create mode 100644 sysdeps/tile/configure.ac diff --git a/ChangeLog b/ChangeLog index 8f7c17603c9d..344c575192d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-04-16 Chris Metcalf + + * sysdeps/tile/configure.ac: New file. + * sysdeps/tile/configure: Regenerated. + 2015-04-15 Adhemerval Zanella * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove diff --git a/sysdeps/tile/configure b/sysdeps/tile/configure new file mode 100644 index 000000000000..534c7dbc5d22 --- /dev/null +++ b/sysdeps/tile/configure @@ -0,0 +1,7 @@ +# This file is generated from configure.ac by Autoconf. DO NOT EDIT! + # Local configure fragment for sysdeps/tile. + +# We can always access static and hidden symbols in a position independent way. +$as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h + +# work around problem with autoconf and empty lines at the end of files diff --git a/sysdeps/tile/configure.ac b/sysdeps/tile/configure.ac new file mode 100644 index 000000000000..6e246a3bc927 --- /dev/null +++ b/sysdeps/tile/configure.ac @@ -0,0 +1,6 @@ +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. +# Local configure fragment for sysdeps/tile. + +# We can always access static and hidden symbols in a position independent way. +AC_DEFINE(PI_STATIC_AND_HIDDEN) +# work around problem with autoconf and empty lines at the end of files