Files
binutils-gdb/binutils/testsuite/binutils-all/riscv/property-cfi-lp-unlabeled.d
Kito Cheng 4ad5217caf 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
2025-06-24 18:14:39 +08:00

9 lines
296 B
Makefile

#as: -defsym __property_zicfilp_unlabeled__=1 -march=rv64i -mabi=lp64
#readelf: -n
#source: property.s
Displaying notes found in: .note.gnu.property
[ ]+Owner[ ]+Data size[ ]+Description
[ ]+GNU[ ]+0x00000010[ ]+NT_GNU_PROPERTY_TYPE_0
[ ]+Properties: RISC-V AND feature: CFI_LP_UNLABELED