binutils Newspaper
JULY 29, 2026
loongarch Proposed

Add objdump annotate option for LoongArch

Introduces `objdump -dM annotate` for LoongArch to display disassembly with `dbar` instruction annotations.

A patch adds a new annotate option to objdump specifically for the LoongArch architecture. This enhancement allows users to view disassembly output that includes annotations for dbar instructions, providing more detailed information about their operands and behavior.

In Details

This patch introduces a new display mode, annotate, to objdump for the LoongArch architecture. This mode is designed to provide specific annotations alongside the disassembly of dbar instructions. The dbar instruction is likely related to data cache coherency or management on LoongArch systems, and the annotations aim to clarify its usage and parameters directly in the object code listing.

For Context
objdump
A utility that displays information from object files, including disassembly.
LoongArch
A RISC-based instruction set architecture developed in China, used in various processors.
dbar instruction
A specific instruction in the LoongArch architecture, likely related to data cache barrier operations or management.
Filed Under: objdumploongarchdisassemblyannotations