Skip to content

Commit 9582b9a

Browse files
authored
Merge pull request #386 from MaskRay/PT_RISCV_ATTRIBUTES
Deprecate PT_RISCV_ATTRIBUTES
2 parents a3b57bb + 5ed0ec8 commit 9582b9a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

riscv-elf.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,6 +1100,10 @@ The defined processor-specific segment types are listed in <<rv-seg-type>>.
11001100

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

1103+
WARNING: `PT_RISCV_ATTRIBUTES` is deprecated. The build attributes section does
1104+
not contain the `SHF_ALLOC` flag. Dynamic loaders cannot assume that the region
1105+
described by `PT_RISCV_ATTRIBUTES` is present.
1106+
11031107
=== Note Sections
11041108

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

0 commit comments

Comments
 (0)