public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Fangrui Song <i@maskray.me>
To: binutils@sourceware.org
Subject: objdump riscv: Stop disassembling addi rd, rs, 0 with a relocation as mv rd, rs?
Date: Mon, 6 Feb 2023 18:40:57 -0800	[thread overview]
Message-ID: <DS7PR12MB57659139C1D9EA568403722DCBDB9@DS7PR12MB5765.namprd12.prod.outlook.com> (raw)

In llvm-project, https://reviews.llvm.org/D143345 brings up the topic
whether we should keep addi rd, rs, 0 when it is associated with a
relocation. If it does, the relocation may resolve to a non-zero and
`mv rd, rs` may look confusing.

             reply	other threads:[~2023-02-07  2:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-07  2:40 Fangrui Song [this message]
2023-02-07 14:39 ` Maciej W. Rozycki
2023-02-07 15:14   ` Jan Beulich
2023-02-07 15:44     ` Andreas Schwab
2023-02-07 16:04     ` Maciej W. Rozycki
2023-02-09  2:21       ` Nelson Chu

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=DS7PR12MB57659139C1D9EA568403722DCBDB9@DS7PR12MB5765.namprd12.prod.outlook.com \
    --to=i@maskray.me \
    --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).