From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7180 invoked by alias); 25 Apr 2014 08:00:31 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 7142 invoked by uid 89); 25 Apr 2014 08:00:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp-relay.CeBiTec.Uni-Bielefeld.DE Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 25 Apr 2014 08:00:26 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 7E762725; Fri, 25 Apr 2014 10:00:24 +0200 (CEST) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ynO7FpAa5Qin; Fri, 25 Apr 2014 10:00:22 +0200 (CEST) Received: from lokon.CeBiTec.Uni-Bielefeld.DE (lokon.CeBiTec.Uni-Bielefeld.DE [129.70.161.110]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 73233724; Fri, 25 Apr 2014 10:00:22 +0200 (CEST) Received: (from ro@localhost) by lokon.CeBiTec.Uni-Bielefeld.DE (8.14.7+Sun/8.14.7/Submit) id s3P80MH5003705; Fri, 25 Apr 2014 10:00:22 +0200 (MEST) From: Rainer Orth To: Uros Bizjak Cc: "gcc-patches\@gcc.gnu.org" Subject: Re: Remove obsolete Solaris 9 support References: Date: Fri, 25 Apr 2014 08:07:00 -0000 In-Reply-To: (Rainer Orth's message of "Wed, 23 Apr 2014 16:12:02 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (usg-unix-v) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-IsSubscribed: yes X-SW-Source: 2014-04/txt/msg01628.txt.bz2 --=-=-= Content-Type: text/plain Content-length: 666 Rainer Orth writes: > Uros Bizjak writes: > >> It looks to me that one part was left in libgcc/config/i386/crtfastmath.c: >> >> #if !defined __x86_64__ && defined __sun__ && defined __svr4__ >> #include >> #include >> ... >> #endif > > Right, missed it because it carried no Solaris 9 comment. I'll remove > it after a round of testing. Here's what I installed after successful bootstraps on i386-pc-solaris2.1[01]. Rainer 2014-04-23 Rainer Orth * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__] (sigill_caught, sigill_hdlr): Remove. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=sol9-removal-crtfastmath.patch Content-length: 1010 # HG changeset patch # Parent 150c9610f7b0bfa684db0601a5f026e13ed1d30e Remove SSE execution test in crtfastmath.c diff --git a/libgcc/config/i386/crtfastmath.c b/libgcc/config/i386/crtfastmath.c --- a/libgcc/config/i386/crtfastmath.c +++ b/libgcc/config/i386/crtfastmath.c @@ -31,26 +31,6 @@ #include "cpuid.h" #endif -#if !defined __x86_64__ && defined __sun__ && defined __svr4__ -#include -#include - -static volatile sig_atomic_t sigill_caught; - -static void -sigill_hdlr (int sig __attribute((unused)), - siginfo_t *sip __attribute__((unused)), - ucontext_t *ucp) -{ - sigill_caught = 1; - /* Set PC to the instruction after the faulting one to skip over it, - otherwise we enter an infinite loop. 3 is the size of the movaps - instruction. */ - ucp->uc_mcontext.gregs[EIP] += 3; - setcontext (ucp); -} -#endif - static void __attribute__((constructor)) #ifndef __x86_64__ /* The i386 ABI only requires 4-byte stack alignment, so this is necessary --=-=-= Content-Type: text/plain Content-length: 143 -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University --=-=-=--