binutils Newspaper
OCTOBER 6, 2026
risc-v — Proposed

RISC-V: define elf_backend_dtrel_excludes_plt

Wang Jue requests a binutils maintainer to commit a patch for RISC-V ELF backend.

Wang Jue’s patch, which defines elf_backend_dtrel_excludes_plt for RISC-V, has received approval but requires a maintainer to commit it due to the proposer lacking write access to the binutils repository. The change aims to correctly handle dynamic relocation excludes for the RISC-V architecture.

In the Thread 1 participant
  1. wangjue <juewang@linux.alibaba.com> proposer

    Requests a binutils maintainer to commit a previously approved patch, as they do not have direct write access to the repository.

    “This patch has not been committed yet, and I do not have write access to the binutils repository. Could you or another maintainer please commit it for me?”

In Details

This patch modifies binutils' RISC-V backend to define elf_backend_dtrel_excludes_plt. This flag likely controls which dynamic relocation entries are excluded from the Procedure Linkage Table (PLT) for Position Independent Executables (PIE) or Position Independent Code (PIC) on RISC-V. Correctly setting this is crucial for generating optimal and functional shared objects and executables.

Filed Under: binutilsrisc-velfrelocationscommit