binutils Newspaper
NOVEMBER 30, 2026
risc-v — Proposed

RISC-V: Add NEWS entries for the privileged spec deprecation

Adds NEWS entries in binutils, gas, and ld to document the deprecation of RISC-V privileged spec options and attributes.

This patch series introduces NEWS entries for binutils, gas, and ld to announce the deprecation of RISC-V privileged spec version selection options and related attributes. The changes aim to align with the evolving RISC-V ISA spec, where the concept of a privileged spec version is replaced by the Ss extension version. Developers are advised to use binutils 2.47 or earlier for older privileged spec versions.

In the Thread 1 participant
  1. Kito Cheng <kito.cheng@sifive.com> proposer

    Adds NEWS entries to binutils, gas, and ld to document the deprecation of RISC-V privileged spec options and attributes, informing users that these are deprecated and have no effect.

    “Describe the deprecated privileged spec options and attributes in the gas, binutils and ld NEWS files.”

In Details

This series removes the explicit selection of RISC-V privileged specification versions (e.g., via -M priv-spec, --with-priv-spec, or ELF attributes). Historically, binutils supported multiple privileged spec versions, but this mechanism is being deprecated in favor of the Ss extension version. These patches remove the code that handled these old versions, deprecate the related options, and update NEWS files to reflect these changes.

For Context
RISC-V privileged spec
Defines the base instruction set and extensions related to system-level privileges in RISC-V architecture, including aspects like Control and Status Registers (CSRs) and memory management.
psABI
The Application Binary Interface for the RISC-V architecture, defining conventions for how software components interact at the binary level, including object file formats and system calls.
ELF
Executable and Linkable Format, a common standard file format for executables, object code, shared libraries, and core dumps, used by many Unix-like systems.
gas
The GNU Assembler, part of the GNU Binutils project, responsible for translating assembly language code into machine code.
ld
The GNU linker, also part of GNU Binutils, responsible for combining object files and libraries into an executable or library.
Filed Under: risc-vbinutilsdeprecationdocumentation