Skip to content

Commit

Permalink
Merge pull request #386 from MaskRay/PT_RISCV_ATTRIBUTES
Browse files Browse the repository at this point in the history
Deprecate PT_RISCV_ATTRIBUTES
  • Loading branch information
kito-cheng authored Apr 29, 2024
2 parents a3b57bb + 5ed0ec8 commit 9582b9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions riscv-elf.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1100,6 +1100,10 @@ The defined processor-specific segment types are listed in <<rv-seg-type>>.

`PT_RISCV_ATTRIBUTES` describes the location of RISC-V ELF attribute section.

WARNING: `PT_RISCV_ATTRIBUTES` is deprecated. The build attributes section does
not contain the `SHF_ALLOC` flag. Dynamic loaders cannot assume that the region
described by `PT_RISCV_ATTRIBUTES` is present.

=== Note Sections

There are no RISC-V specific definitions relating to ELF note sections.
Expand Down

0 comments on commit 9582b9a

Please sign in to comment.