public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Hans-Peter Nilsson <hp@bitrange.com>
To: William Tambe <tambewilliam@gmail.com>
Cc: Binutils <binutils@sourceware.org>
Subject: Re: How to adjust the name of symbols added to the GOT ?
Date: Thu, 26 Mar 2020 19:39:59 -0400 (EDT)	[thread overview]
Message-ID: <alpine.BSF.2.20.16.2003261934060.33582@arjuna.pair.com> (raw)
In-Reply-To: <CAF8i9mMhMwEZjmTt-+4-rvJ95cznSjbHzw4M7mJL3Z5zXEwMQw@mail.gmail.com>

(ITYM the PLT part of the GOT.)

On Thu, 26 Mar 2020, William Tambe via Binutils wrote:

> On Wed, Mar 25, 2020 at 8:02 PM William Tambe <tambewilliam@gmail.com> wrote:
> >
> > We would like to adjust the name of symbols added to the GOT such that objdump disassembling can display something like: name@GOT.
>
> Is it as simply as replacing the string pointed by
> (struct elf_link_hash_entry *)->root.root.string ?

No.

> > How can it be accomplished ?

git grep plt_sym_val.  UTSL.  Happy hacking.

brgds, H-P

      reply	other threads:[~2020-03-26 23:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-26  0:02 William Tambe
2020-03-26 19:17 ` William Tambe
2020-03-26 23:39   ` Hans-Peter Nilsson [this message]

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=alpine.BSF.2.20.16.2003261934060.33582@arjuna.pair.com \
    --to=hp@bitrange.com \
    --cc=binutils@sourceware.org \
    --cc=tambewilliam@gmail.com \
    /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).