Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
kito-cheng committed Jan 11, 2024
1 parent ccaf409 commit 1e785fa
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions riscv-elf.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1353,14 +1353,19 @@ a different features.
| 1 | GNU_PROPERTY_RISCV_FEATURE_1_ZICFISS
|===

`GNU_PROPERTY_RISCV_FEATURE_1_ZICFILP` This bit indicate the program has built
with landing pad (`Zicfilp` extension), executable or shared libary tag with
`GNU_PROPERTY_RISCV_FEATURE_1_ZICFILP` This bit indicate that all executable sections are built to be compatible with the landing pad mechanism provided by the `Zicfilp` extension. An executable or shared library with this bit set is required to generate PLTs with the landing pad (`lpad`) instruction.

`GNU_PROPERTY_RISCV_FEATURE_1_ZICFISS`: This bit indicate the program has built
with shadow stack (`Zicfiss` extension), executable or shared libary tag with
this bit will require execution environment at least has implement the
`GNU_PROPERTY_RISCV_FEATURE_1_ZICFISS`: This bit indicate that all executable sections are built to be compatible with the shadow stack mechanism provided by the `Zicfiss` extension. Loading an executable or shared library with this bit set requires the execution environment to provide either the `Zicfiss` extension or the `Zimop` extension. When the executable or shared library is compiled with compressed instructions then loading an executable with this bit set requires the execution environment to provide the `Zicfiss` extension or to provide both the `Zcmop` and `Zimop` extensions.
`GNU_PROPERTY_RISCV_FEATURE_1_ZICFILP` This bit indicate that all executable
sections are built to be compatible with the landing pad mechanism provided by
the `Zicfilp` extension. An executable or shared library with this bit set is
required to generate PLTs with the landing pad (`lpad`) instruction.

`GNU_PROPERTY_RISCV_FEATURE_1_ZICFISS`: This bit indicate that all executable
sections are built to be compatible with the shadow stack mechanism provided by
the `Zicfiss` extension. Loading an executable or shared library with this bit
set requires the execution environment to provide either the `Zicfiss` extension
or the `Zimop` extension. When the executable or shared library is compiled with
compressed instructions then loading an executable with this bit set requires
the execution environment to provide the `Zicfiss` extension or to provide both
the `Zcmop` and `Zimop` extensions.

=== Mapping Symbol

Expand Down

0 comments on commit 1e785fa

Please sign in to comment.