From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oo1-xc2e.google.com (mail-oo1-xc2e.google.com [IPv6:2607:f8b0:4864:20::c2e]) by sourceware.org (Postfix) with ESMTPS id 35D4B384A8A8 for ; Fri, 10 Sep 2021 15:17:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 35D4B384A8A8 Received: by mail-oo1-xc2e.google.com with SMTP id k18-20020a4abd92000000b002915ed21fb8so699136oop.11 for ; Fri, 10 Sep 2021 08:17:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=8+RBSv2G3pk4U+i8doCCDkMjsoOOp/3SeO/hRbGm620=; b=aybYDjfy2qmqpB7ryXZ67ryL4NA0N+b/uCA/73f7OxOo/VfXB8xBHMWBlG6w4LdMul dR/a8owPxZTsOqe9WFP82px8H8g4h7edlIP2FFXLrZRZRyJInSosV3xIC4m3wdKsRK2x V6y/Q17XeOMLaby2avlRQBbZzWhMalkjpdNzH1Z2pPbmMw9ukMUU+OEe/pD0Ha2zBBJo +4tP35ledo6Vw0zfebYNI9ltsVTw3Ya8drZ4ro+jMWWJF28P+11anoQVf4HD0Q00P61x J0MZnBKi4ehsPJOOOLcTqf2pPBO57Hf0TnJuFqJy4+KtBnyojZufkeIpvBP6zwKtnI60 9rhg== X-Gm-Message-State: AOAM530WfC8rVwrtCz0ObfZA/Vw3Mfsazp3mM2McnaeWfNgmanmZof+m jpj93JrtnpYl/Js3/8L87OIw+UcGPAM= X-Google-Smtp-Source: ABdhPJxisJ4hXWyMK+0nyAKrzKrqq6uvW6ZskL1yYEmskPVHX6TwyiiUb1XS4RBp5xHDzZONvyfppA== X-Received: by 2002:a4a:984b:: with SMTP id z11mr4856414ooi.76.1631287036403; Fri, 10 Sep 2021 08:17:16 -0700 (PDT) Received: from [172.31.0.175] (c-98-202-48-222.hsd1.ut.comcast.net. [98.202.48.222]) by smtp.gmail.com with ESMTPSA id i9sm1290984otp.18.2021.09.10.08.17.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Sep 2021 08:17:16 -0700 (PDT) Subject: Re: [PATCH] Always default to DWARF2 debug for cygwin and mingw To: Richard Biener , gcc-patches@gcc.gnu.org References: From: Jeff Law Message-ID: <4b291550-e155-a37e-9b6f-490f70c07595@gmail.com> Date: Fri, 10 Sep 2021 09:17:13 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2021 15:17:18 -0000 On 9/10/2021 12:38 AM, Richard Biener via Gcc-patches wrote: > This removes the fallback to STABS as default for cygwin and mingw > when the assembler does not support .secrel32 and the default is > to emit 32bit code. Support for .secrel32 was added to binutils 2.16 > released in 2005 so instead document that as requirement. > > I left the now unused check for .secrel32 in configure around > in case somebody wants to turn that into an error or warning. > > OK for trunk? As before I have no good means to test this but > it should change nothing for people using binutils 2.16+ > > 2021-09-10 Richard Biener > > * config/i386/cygming.h: Always default to DWARF2 debugging. > Do not define DBX_DEBUGGING_INFO, that's done via dbxcoff.h > already. > * doc/install.texi: Document binutils 2.16 as minimum > requirement for mingw. OK. jeff