]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
RISC-V: Add GNU_PROPERTY_RISCV_FEATURE_1_CFI_SS and GNU_PROPERTY_RISCV_FEATURE_1_CFI_...
authorKito Cheng <kito.cheng@sifive.com>
Wed, 11 Jun 2025 08:33:47 +0000 (16:33 +0800)
committerNelson Chu <nelson@rivosinc.com>
Tue, 24 Jun 2025 10:14:39 +0000 (18:14 +0800)
commit4ad5217caf706925014e38be2bc561a2fa094ece
tree40f9f825617c4dbff9afca26d6e1065a92b790e8
parent51a39a59cacab34595b7e4ebff9812567ec0d4e1
RISC-V: Add GNU_PROPERTY_RISCV_FEATURE_1_CFI_SS and GNU_PROPERTY_RISCV_FEATURE_1_CFI_LP_UNLABELED

This patch adds two new GNU properties for RISC-V:
GNU_PROPERTY_RISCV_FEATURE_1_CFI_SS and GNU_PROPERTY_RISCV_FEATURE_1_CFI_LP_UNLABELED.

We only add readelf and define the properties in this patch.

Ref: https://github.com/riscv-non-isa/riscv-elf-psabi-doc/pull/417
binutils/readelf.c
binutils/testsuite/binutils-all/riscv/property-cfi-lp-unlabeled.d [new file with mode: 0644]
binutils/testsuite/binutils-all/riscv/property-cfi-ss.d [new file with mode: 0644]
binutils/testsuite/binutils-all/riscv/property.s [new file with mode: 0644]
include/elf/common.h