From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) by sourceware.org (Postfix) with ESMTPS id 9DDCC3858D3C for ; Wed, 1 Mar 2023 12:58:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9DDCC3858D3C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-172afa7bee2so14284493fac.6 for ; Wed, 01 Mar 2023 04:58:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677675536; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=BM2YmfXQQbpYDlBMUq0a4nNuVz/uon1ZxL3Qg26ihZs=; b=GIEmMBD0FQqgpyc3Ppaf62no+DpIEv8EzIKFzXN81X5jDjWJbvDxDTMvKI2DwGjfPp 77JdBrleY/jMqxVTqIXzbmejsOKZEgVlB6sdvpHraiDG0DDmI1WLc7iXRNHc5rlR8RBH srATbfq0ols2vH1GyjigTsV5S6wxRNihO+rlsBuFWItcch7uguNPusFlS+pVmc9GliyN VXnV0Gw/4iPJC25vs23mbeEJFigY1K3LQsB0Tokb8UeDQaYq1LKYTWoEu2vDs+BSZAAk hxd4TA47Dp+ENJ7BjbTVmsvEcrkwZ3+xUFgwWuDpPIMtb/ANI+8A4fghc3fgcTdiZ5bo xg/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677675536; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=BM2YmfXQQbpYDlBMUq0a4nNuVz/uon1ZxL3Qg26ihZs=; b=hHU/8WkU52CADJ5PfFLPr8z6RbTNbfkEdKQRTbTuT6tg0tU7y7iFDmdnSX7UOmPP0R 13gwz1zAaRdspNO9E6NZtFm3M6wwTUl2faul0NBFt7ptVcPgGVj0gWUwiZClf5fQiIGD OkSpxqK3vl53uQTuRqiVa2ke/P79HTtGnYVKpYa9R97GpOhmZAqRqpKgw2DfOcYyQdhO USc1SDVbfX3p4LA/8mO9zkdmdumVqVILrem0ms9W6VCgzJS0pnu6f9EISAFxZs36HJ6N nnhGuNQL87IB1ubhsagOsZPayCKkgGehB7m8bXrLykFlY0tDv5kiabm1NbvWQFaIXuqL KDHQ== X-Gm-Message-State: AO0yUKWfle1RL9R9umwAn8tJof7kaMcJK/vgsfDb9EmLNV8JgoTjE6x1 qdz8aawWdqJdVgINshbMl43R7QlOiCiZfeA5JMF2Zhr7 X-Google-Smtp-Source: AK7set9vFfVo6EHy2cr55xGqfobTVh4YWu3i+kP/OAhDrCktDXN2Ui/lt/3PY6qxu4GoKHpCsHNuAmlg0FAjKIY/u0I= X-Received: by 2002:a05:6870:ed8a:b0:172:473c:f340 with SMTP id fz10-20020a056870ed8a00b00172473cf340mr2754504oab.2.1677675536564; Wed, 01 Mar 2023 04:58:56 -0800 (PST) MIME-Version: 1.0 From: Tom Kacvinsky Date: Wed, 1 Mar 2023 07:58:45 -0500 Message-ID: Subject: request for enhancement in BFD and gold linkers in regards to .comment section To: Binutils Content-Type: multipart/alternative; boundary="00000000000067c68205f5d64653" X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,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: --00000000000067c68205f5d64653 Content-Type: text/plain; charset="UTF-8" HI, I have noticed that the LLVM linker will add something to the .comment section of binaries it produces for the version of lld used to produce an ELF executable or shared library. For the gold liker, I see I can do a readelf -p .note.gnu.gold-version and get the version of gold used to make an ELF file. I see nothing similar for the BFD linker. So the request for enhancement is to add something to the .comment section as to which version of the BFD or gold linker was used to produce the ELF. I can file a BZ if that is the preferred way of receiving a request such as this. If this seems unreasonable to you, that's OK by me. I am asking under the guise of never ventured, nothing gained. Thanks and regards, Tom --00000000000067c68205f5d64653--