From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27850 invoked by alias); 24 May 2011 15:09:56 -0000 Received: (qmail 27841 invoked by uid 22791); 24 May 2011 15:09:55 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 May 2011 15:09:39 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id E5FE3339; Tue, 24 May 2011 17:09:37 +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 Vzd9ZtPx4lfK; Tue, 24 May 2011 17:09:36 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (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 8DFCA337; Tue, 24 May 2011 17:09:36 +0200 (CEST) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p4OF9ZbQ016495; Tue, 24 May 2011 17:09:35 +0200 (MEST) From: Rainer Orth To: Uros Bizjak Cc: gcc-patches@gcc.gnu.org Subject: Re: [build] Fix Solaris 2/x86 GD/LD TLS code sequences with Sun ld References: Date: Tue, 24 May 2011 16:42:00 -0000 In-Reply-To: (Uros Bizjak's message of "Mon, 23 May 2011 20:39:22 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes 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 X-SW-Source: 2011-05/txt/msg01732.txt.bz2 Uros, > Since handling of "p" is not conditional (that is, controlled by some > compile flag), it is IMO better to just output correct assembly from > the insn pattern itself. You will also output lower-case "@plt" which I think I tried something along these lines, but failed with duplicate @plt@plt for PIC code. > is IIRC preferred by Sun assebler. I've never seen such an issue. > Something like attached (untested) patch. Unfortunately, the Solaris 10/x86 bootstrap fails in the stage1 libgomp: /vol/gcc/src/hg/trunk/solaris/libgomp/single.c: In function 'GOMP_single_start': /vol/gcc/src/hg/trunk/solaris/libgomp/single.c:55:1: internal compiler error: ou tput_operand: '%&' used without any local dynamic TLS references Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University