From patchwork Mon Dec 6 00:47:00 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 74312 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 53599B70B8 for ; Mon, 6 Dec 2010 11:47:11 +1100 (EST) Received: (qmail 32080 invoked by alias); 6 Dec 2010 00:47:09 -0000 Received: (qmail 32071 invoked by uid 22791); 6 Dec 2010 00:47:08 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hiauly1.hia.nrc.ca (HELO hiauly1.hia.nrc.ca) (132.246.10.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 06 Dec 2010 00:47:04 +0000 Received: by hiauly1.hia.nrc.ca (Postfix, from userid 1000) id C75F54CF3; Sun, 5 Dec 2010 19:47:00 -0500 (EST) Date: Sun, 5 Dec 2010 19:47:00 -0500 From: John David Anglin To: Paolo Bonzini Cc: gcc-patches@gcc.gnu.org Subject: Re: [committed] Ignore --with-dwarf2 option on 32-bit hppa*-*-hpux* Message-ID: <20101206004659.GA3295@hiauly1.hia.nrc.ca> Reply-To: John David Anglin References: <20101121214902.A86B74DA1@hiauly1.hia.nrc.ca> <4CE9CA59.8030300@gnu.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4CE9CA59.8030300@gnu.org> User-Agent: Mutt/1.5.16 (2007-06-09) 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 On Mon, 22 Nov 2010, Paolo Bonzini wrote: > Second, because if anywhere the right place to put this is in config.gcc > rather than by adding a new case $target statement. I wouldn't complain if > it was placed there. Tested on hppa2.0w-hp-hpux11 with and without option. Committed to trunk. Dave Index: config.gcc =================================================================== --- config.gcc (revision 167467) +++ config.gcc (working copy) @@ -1065,6 +1065,10 @@ fi use_collect2=yes gas=yes + if test "x$with_dwarf2" != x; then + echo "Warning: dwarf2 debug format is not supported for this targe, --with-dwarf2 ignored" 1>&2 + dwarf2=no + fi ;; hppa*64*-*-hpux11*) target_cpu_default="MASK_PA_11|MASK_PA_20" @@ -1153,6 +1157,10 @@ tm_file="${tm_file} hpux-stdint.h" ;; esac + if test "x$with_dwarf2" != x; then + echo "Warning: dwarf2 debug format is not supported for this targe, --with-dwarf2 ignored" 1>&2 + dwarf2=no + fi ;; i[34567]86-*-darwin*) need_64bit_hwint=yes