WEDNESDAY, SEPTEMBER 16, 2026
binutils/gas
Add RISC-V Ziccamoc extension support
Binutils assembler now supports the RISC-V Ziccamoc extension.
This commit adds support for the RISC-V Ziccamoc extension (version 1.0) to the binutils assembler. The changes include updates to BFD’s ELF support for RISC-V and the gas assembler’s NEWS file and test suite.
In Details
This patch introduces support for the RISC-V Ziccamoc extension, a draft specification. The changes are made in BFD's RISC-V ELF object file code (elfxx-riscv.c) to recognize the extension and in the GNU Assembler (gas) to update its NEWS file and test suite accordingly. This enables the assembler to correctly process instructions associated with this new extension.
For Context
- RISC-V
- An open-standard Instruction Set Architecture (ISA) based on RISC principles. It is designed to be simple, modular, and extensible, allowing for various specialized profiles and extensions.
- Ziccamoc
- A specific RISC-V extension, in this case, referring to a draft version 1.0. Extensions like Ziccamoc add new instructions or capabilities to the base RISC-V ISA, often for specific microarchitectural features or performance enhancements.
- BFD
- The Binary File Descriptor library. It's a core component of binutils that provides a common interface for reading and writing various object file formats, including ELF, COFF, and a.out.
- ELF
- Executable and Linkable Format. A standard file format for executables, object code, shared libraries, and core dumps, widely used on Unix-like systems. BFD handles parsing and generating ELF files.
- gas
- The GNU Assembler. It translates assembly language code into machine code, often as a frontend to BFD for handling object file formats.