[PATCH v2] LoongArch: Add new option annotate for objdump

Project / Subsystem

binutils / loongarch

Date

2026-07-30

Proposer

zhaozhou <zhaozhou@loongson.cn>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

All attributes

project
binutils
subsystem
loongarch
patch_id
—
discussion_id
20260730021453.50476-1-zhaozhou@loongson.cn
source_type
public_inbox
title
[PATCH v2] LoongArch: Add new option annotate for objdump
headline
LoongArch: Add new option annotate for objdump
tldr
Adds 'objdump -dM annotate' to display disassembly with annotations for LoongArch dbar instructions.
proposer
zhaozhou <zhaozhou@loongson.cn>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
[]
series_id
—
series_role
standalone
series_parts
[]
tags
  • • binutils
  • • objdump
  • • loongarch
  • • disassembly
bugzilla_url
—
date
2026-07-30T00:00:00.000Z

[PATCH v2] LoongArch: Add new option annotate for objdump

This patch introduces a new ‘annotate’ option for the LoongArch objdump tool. When used with ‘-dM annotate’, it will display disassembly along with specific annotations for ‘dbar’ instructions, providing more detailed insight into their usage and behavior.