From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail8.parnet.fi (mail8.parnet.fi [77.234.108.134]) by sourceware.org (Postfix) with ESMTPS id 3C9773858D37 for ; Mon, 10 Oct 2022 20:58:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3C9773858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=martin.st Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=martin.st Received: from mail9.parnet.fi (mail9.parnet.fi [77.234.108.21]) by mail8.parnet.fi with ESMTP id 29AKwcZc000976-29AKwcZd000976; Mon, 10 Oct 2022 23:58:38 +0300 Received: from foo.martin.st (host-97-187.parnet.fi [77.234.97.187]) by mail9.parnet.fi (Postfix) with ESMTPS id 10233A1437; Mon, 10 Oct 2022 23:58:37 +0300 (EEST) Date: Mon, 10 Oct 2022 23:58:37 +0300 (EEST) From: =?ISO-8859-15?Q?Martin_Storsj=F6?= To: Mark Harmstone cc: binutils@sourceware.org Subject: Re: [PATCH 1/2] ld: Add --pdb option In-Reply-To: <8635e66a-3481-b3af-c620-18b9ce575a67@harmstone.com> Message-ID: <7b501aa5-59b-5096-b192-7ccb38bbbfc@martin.st> References: <20221003014313.28766-1-mark@harmstone.com> <26dfc8b7-e89d-9212-da69-b05044d2d8a9@martin.st> <7e5d88ff-9aa9-dbfd-aa80-1793c2c48fde@martin.st> <2b3caba0-de53-6c2c-1038-5581deb2b8e@martin.st> <2e5696c4-57db-6cd1-603b-e106754b70f5@harmstone.com> <50a83eb4-feaa-9cf9-bb40-42bff718796f@martin.st> <8635e66a-3481-b3af-c620-18b9ce575a67@harmstone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-FE-Policy-ID: 3:14:2:SYSTEM X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mon, 10 Oct 2022, Mark Harmstone wrote: > Sorry Martin, I didn't quite get what you meant before. Yes, that's > fine; I'll resubmit with your changes. Ok, great! So after this, both lld and binutils would support these usage forms: Preferred ones: -Wl,--pdb= -Wl,--pdb= (implying the PDB filename from the output name) Also supported (and used across third party code) but less ideal: -Wl,--pdb, We could try to discourage (soft-deprecate?) the latter form and try to change most accessible third party projects to use the former form which is less ambiguous. If we get most projects switched to using the preferred forms, and enough time passes (say a year or two?) we could maybe consider to remove support for the other form, leaving the door open for taking that into use as "-Wl,--pdb" as a less awkward form for the implicit output name, at some point in the future. // Martin