On Mon, Jan 13, 2025 at 1:02 AM Monk Chiang <monk.chi...@sifive.com> wrote:

>
>         * gcc/config/riscv/riscv.cc
>         (riscv_file_end_indicate_exec_stack): Add .note.gnu.property.
>
>         * libgcc/config/riscv/riscv-asm.h: Add GNU_PROPERTY for ZICFILP,
>           ZICFISS.
>

ELF attributes (.riscv.attributes section) offer a cleaner way to attach
feature bits to object files. GNU properties (.note.gnu.property)
are uglier,
and less convenient to handle. I would much rather we use the ELF mechanism.

G

Reply via email to