diff --git a/riscv-elf.adoc b/riscv-elf.adoc index f2c8da5f..e1979a7b 100644 --- a/riscv-elf.adoc +++ b/riscv-elf.adoc @@ -1077,6 +1077,7 @@ The defined processor-specific section types are listed in <>. | .riscv.attributes | SHT_RISCV_ATTRIBUTES | none | .riscv.jvt | SHT_PROGBITS | SHF_ALLOC + SHF_EXECINSTR +| .note.gnu.property | SHT_NOTE | SHF_ALLOC |=== +++.riscv.attributes+++ names a section that contains RISC-V ELF attributes. @@ -1084,6 +1085,8 @@ The defined processor-specific section types are listed in <>. +++.riscv.jvt+++ is a linker-created section to store table jump target addresses. The minimum alignment of this section is 64 bytes. ++++.note.gnu.property+++ names a section that contains a program property note. + === Program Header Table The defined processor-specific segment types are listed in <>. @@ -1350,6 +1353,14 @@ value. After the merge, the resulting value will be the non-zero one. -- +=== Program Property + +Program properties are used to record information about an object file or binary +that a linker or runtime loader needs to check for compatibility. + +The linker should ignore and discard unknown bits in program properties, and +issue warnings or errors. + === Mapping Symbol The section can have a mixture of code and data or code with different ISAs.