public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Tom Kacvinsky <tkacvins@gmail.com>
To: Binutils <binutils@sourceware.org>
Subject: request for enhancement in BFD and gold linkers in regards to .comment section
Date: Wed, 1 Mar 2023 07:58:45 -0500	[thread overview]
Message-ID: <CAG_eJLdR1WSrLhuoF0OoFZNwRkMzy6iPLgXD442CHEFP=KvvLw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 730 bytes --]

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

             reply	other threads:[~2023-03-01 12:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-01 12:58 Tom Kacvinsky [this message]
2023-03-01 13:41 ` Nick Clifton
2023-03-01 14:53   ` Tom Kacvinsky
2023-03-01 15:15     ` Tom Kacvinsky
2023-03-19 20:36       ` Tom Kacvinsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAG_eJLdR1WSrLhuoF0OoFZNwRkMzy6iPLgXD442CHEFP=KvvLw@mail.gmail.com' \
    --to=tkacvins@gmail.com \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).