bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/30099] New: objdump riscv: stop disassembling addi rd, rs


From: nelsonc1225 at sourceware dot org
Subject: [Bug binutils/30099] New: objdump riscv: stop disassembling addi rd, rs, 0 with a relocation as mv rd, rs
Date: Thu, 09 Feb 2023 02:17:44 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=30099

            Bug ID: 30099
           Summary: objdump riscv: stop disassembling addi rd, rs, 0 with
                    a relocation as mv rd, rs
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: nelsonc1225 at sourceware dot org
  Target Milestone: ---

Copy from here,
https://inbox.sourceware.org/binutils/DS7PR12MB57659139C1D9EA568403722DCBDB9@DS7PR12MB5765.namprd12.prod.outlook.com/

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]