Skip to content

Commit 5ed0ec8

Browse files
committed
Deprecate PT_RISCV_ATTRIBUTES
1 parent fc23a5c commit 5ed0ec8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

riscv-elf.adoc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,26 @@ The defined processor-specific section types are listed in <<rv-section-type>>.
10921092
+++.riscv.jvt+++ is a linker-created section to store table jump
10931093
target addresses. The minimum alignment of this section is 64 bytes.
10941094

1095+
=== Program Header Table
1096+
1097+
The defined processor-specific segment types are listed in <<rv-seg-type>>.
1098+
1099+
[[rv-seg-type]]
1100+
.RISC-V-specific segment types
1101+
[cols="3,2,3"]
1102+
[width=80%]
1103+
|===
1104+
| Name | Value | Meaning
1105+
1106+
| PT_RISCV_ATTRIBUTES | 0x70000003 | RISC-V ELF attribute section.
1107+
|===
1108+
1109+
`PT_RISCV_ATTRIBUTES` describes the location of RISC-V ELF attribute section.
1110+
1111+
WARNING: `PT_RISCV_ATTRIBUTES` is deprecated. The build attributes section does
1112+
not contain the `SHF_ALLOC` flag. Dynamic loaders cannot assume that the region
1113+
described by `PT_RISCV_ATTRIBUTES` is present.
1114+
10951115
=== Note Sections
10961116

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

0 commit comments

Comments
 (0)