From patchwork Wed Sep 1 06:55:49 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 63350 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 06A63B7160 for ; Wed, 1 Sep 2010 16:56:00 +1000 (EST) Received: (qmail 2229 invoked by alias); 1 Sep 2010 06:55:57 -0000 Received: (qmail 2207 invoked by uid 22791); 1 Sep 2010 06:55:56 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL, BAYES_05, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, TW_EQ, TW_QT, TW_VT, TW_XF, TW_ZJ, T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-qw0-f47.google.com (HELO mail-qw0-f47.google.com) (209.85.216.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Sep 2010 06:55:51 +0000 Received: by qwa26 with SMTP id 26so4129823qwa.20 for ; Tue, 31 Aug 2010 23:55:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.249.200 with SMTP id ml8mr5083452qcb.115.1283324149259; Tue, 31 Aug 2010 23:55:49 -0700 (PDT) Received: by 10.229.28.200 with HTTP; Tue, 31 Aug 2010 23:55:49 -0700 (PDT) Date: Wed, 1 Sep 2010 08:55:49 +0200 Message-ID: Subject: [PATCH, solaris]: libgcc: add versions only to existing soft-fp symbols From: Uros Bizjak To: gcc-patches@gcc.gnu.org Cc: Rainer Orth , "Joseph S. Myers" 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 Hello! Some soft-fp symbols are present only on 32bit i386 targets and some only on 64bit. Attached patch adds versions only to existing symbols. See also [1]. 2010-09-01 Uros Bizjak * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for 64bit targets. (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only for 64bit targets. OK for mainline? [1] http://gcc.gnu.org/ml/gcc-patches/2010-08/msg02151.html Uros. Index: config/i386/libgcc-sol2.ver =================================================================== --- config/i386/libgcc-sol2.ver (revision 163716) +++ config/i386/libgcc-sol2.ver (working copy) @@ -59,26 +59,38 @@ GCC_4.5.0 { __addtf3 +%ifndef __x86_64__ __copysigntf3 +%endif __divtc3 __divtf3 __eqtf2 __extenddftf2 __extendsftf2 __extendxftf2 +%ifndef __x86_64__ __fabstf2 +%endif __fixtfdi __fixtfsi +%ifdef __x86_64__ __fixtfti +%endif __fixunstfdi __fixunstfsi +%ifdef __x86_64__ __fixunstfti +%endif __floatditf __floatsitf +%ifdef __x86_64__ __floattitf +%endif __floatunditf __floatunsitf +%ifdef __x86_64__ __floatuntitf +%endif __getf2 __gttf2 __letf2