From patchwork Mon Nov 21 00:53:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans-Peter Nilsson X-Patchwork-Id: 126675 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 488D1B700E for ; Mon, 21 Nov 2011 11:53:58 +1100 (EST) Received: (qmail 22243 invoked by alias); 21 Nov 2011 00:53:56 -0000 Received: (qmail 22233 invoked by uid 22791); 21 Nov 2011 00:53:55 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, TW_UC X-Spam-Check-By: sourceware.org Received: from ra.se.axis.com (HELO ra.se.axis.com) (195.60.68.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Nov 2011 00:53:35 +0000 Received: from localhost (localhost [127.0.0.1]) by ra.se.axis.com (Postfix) with ESMTP id 206414B659 for ; Mon, 21 Nov 2011 01:53:33 +0100 (CET) Received: from ra.se.axis.com ([127.0.0.1]) by localhost (ra.se.axis.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PbttHecHV7kv for ; Mon, 21 Nov 2011 01:53:32 +0100 (CET) Received: from seth.se.axis.com (seth.se.axis.com [10.0.2.172]) by ra.se.axis.com (Postfix) with ESMTP id 3647B4B657 for ; Mon, 21 Nov 2011 01:53:32 +0100 (CET) Received: from ignucius.se.axis.com (ignucius.se.axis.com [10.88.21.50]) by seth.se.axis.com (Postfix) with ESMTP id 33F043E0AF; Mon, 21 Nov 2011 01:53:32 +0100 (CET) Received: from ignucius.se.axis.com (localhost [127.0.0.1]) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) with ESMTP id pAL0rWF6009876; Mon, 21 Nov 2011 01:53:32 +0100 Received: (from hp@localhost) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) id pAL0rVrj009872; Mon, 21 Nov 2011 01:53:31 +0100 Date: Mon, 21 Nov 2011 01:53:31 +0100 Message-Id: <201111210053.pAL0rVrj009872@ignucius.se.axis.com> From: Hans-Peter Nilsson To: gcc-patches@gcc.gnu.org In-reply-to: <201111201128.pAKBSpOW029056@ignucius.se.axis.com> (message from Hans-Peter Nilsson on Sun, 20 Nov 2011 12:28:51 +0100) Subject: RFA: libgcc: move emutls.c from LIB2ADDEH et al to LIB2ADD MIME-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Spotted while looking into (and yes, I fixed the ChangeLog typo before commit) and also mentioned at . Emulating TLS has nothing to do with exception-handling, nor is there something that might throw while calling one of its functions, so no need to pass -fexceptions and thus lower optimizations (which happens at least for targets with delayed-slots) or carry around exception tables. Tested cross to cris-elf, no regressions. Ok to commit? libgcc: * Makefile.in (LIB2ADD): Add $(srcdir)/emutls.c. (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED) brgds, H-P Index: Makefile.in =================================================================== --- Makefile.in (revision 181531) +++ Makefile.in (working copy) @@ -392,11 +392,7 @@ vis_hide = gen-hide-list = echo > \$@ endif -LIB2ADD += enable-execute-stack.c - -LIB2ADDEH += $(srcdir)/emutls.c -LIB2ADDEHSTATIC += $(srcdir)/emutls.c -LIB2ADDEHSHARED += $(srcdir)/emutls.c +LIB2ADD += enable-execute-stack.c $(srcdir)/emutls.c # Library members defined in libgcc2.c. lib2funcs = _muldi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _cmpdi2 _ucmpdi2 \