From patchwork Tue Jul 31 21:09:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: DJ Delorie X-Patchwork-Id: 174330 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 2608C2C007A for ; Wed, 1 Aug 2012 07:09:53 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1344373794; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Date:Message-Id:From:To:CC:In-reply-to:Subject: References:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=C/pIdXq eaBUnlsXBKpUClg4RDTs=; b=bycYT+YDsy+5cTBkZLtSz6I2VISZnR0jdoBQ0Rr MtUBPhkuMBR3G89A8+MNm/rnvwoFdZ/cO3gXFrNl6XbR971Q9CnbNf3CmvEdwLps BLgMTkYkCy4J3yMZP8WjaJLBnI3htoU+FzdCo6malliChohpue6DSDgVJih5KU/6 WkwM= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Received:Date:Message-Id:From:To:CC:In-reply-to:Subject:References:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=ABTSj2jGZW4u7Teq6eWvs9RqBd0wM7Ega8fhXAS96x1oMqqcHE25gO1IFvriE1 OxToIoyQkTTfoUOw1ym2/ae+CsKUo/e6Zs4ehyHGAinOBnlQ9u0QhdlSSg/EKdcm Oe21uJ9ST/TI2NTsulNhemdtjzho+JJM32PZLf+ZzNKtk=; Received: (qmail 11214 invoked by alias); 31 Jul 2012 21:09:49 -0000 Received: (qmail 11206 invoked by uid 22791); 31 Jul 2012 21:09:48 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, KHOP_THREADED, RCVD_IN_DNSWL_HI, RCVD_IN_HOSTKARMA_W, SPF_HELO_PASS, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 31 Jul 2012 21:09:31 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6VL9U8T012246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 31 Jul 2012 17:09:30 -0400 Received: from greed.delorie.com (ovpn-113-78.phx2.redhat.com [10.3.113.78]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q6VL9TEf002341 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 Jul 2012 17:09:30 -0400 Received: from greed.delorie.com (greed.delorie.com [127.0.0.1]) by greed.delorie.com (8.14.4/8.14.4) with ESMTP id q6VL9TiZ027556; Tue, 31 Jul 2012 17:09:29 -0400 Received: (from dj@localhost) by greed.delorie.com (8.14.4/8.14.4/Submit) id q6VL9SCl027555; Tue, 31 Jul 2012 17:09:28 -0400 Date: Tue, 31 Jul 2012 17:09:28 -0400 Message-Id: <201207312109.q6VL9SCl027555@greed.delorie.com> From: DJ Delorie To: Richard Henderson CC: gcc-patches@gcc.gnu.org In-reply-to: <501806B6.7020409@redhat.com> (message from Richard Henderson on Tue, 31 Jul 2012 09:24:22 -0700) Subject: Re: TPF: disable discriminators References: <201207310407.q6V47qIe028859@greed.delorie.com> <501806B6.7020409@redhat.com> X-IsSubscribed: yes 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 Ah, the original complaint was for a gcc branch which doesn't have your strict-dwarf/discriminator patch. How's this? Index: gcc/config/s390/s390.c =================================================================== --- gcc/config/s390/s390.c (revision 190017) +++ gcc/config/s390/s390.c (working copy) @@ -1651,12 +1651,21 @@ s390_option_override (void) flag_prefetch_loop_arrays = 1; /* Use the alternative scheduling-pressure algorithm by default. */ maybe_set_param_value (PARAM_SCHED_PRESSURE_ALGORITHM, 2, global_options.x_param_values, global_options_set.x_param_values); + +#ifdef TARGET_TPF + /* Don't emit DWARF3/4 unless specifically selected. The TPF + debuggers do not yet support DWARF 3/4. */ + if (!global_options_set.x_dwarf_strict) + dwarf_strict = 1; + if (!global_options_set.x_dwarf_version) + dwarf_version = 2; +#endif } /* Map for smallest class containing reg regno. */ const enum reg_class regclass_map[FIRST_PSEUDO_REGISTER] = { GENERAL_REGS, ADDR_REGS, ADDR_REGS, ADDR_REGS,