Skip to content

Commit

Permalink
Drop DT_RISCV_SIMPLE_LP_PLT
Browse files Browse the repository at this point in the history
  • Loading branch information
kito-cheng committed Apr 12, 2024
1 parent 94163c7 commit fc8e98d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions riscv-elf.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1167,17 +1167,12 @@ The defined processor-specific dynamic array tags are listed in <<rv-dyn-tag>>.
| Name | Value | d_un | Executable | Shared Object

| DT_RISCV_VARIANT_CC | 0x70000001 | d_val | Platform specific | Platform specific
| DT_RISCV_SIMPLE_LP_PLT | 0x70000003 | d_val | Platform specific | Platform specific
|===

An object must have the dynamic tag `DT_RISCV_VARIANT_CC` if it has one or more
`R_RISCV_JUMP_SLOT` relocations against symbols with the `STO_RISCV_VARIANT_CC`
attribute.

`DT_RISCV_SIMPLE_LP_PLT` indicate PLTs enabled landing pad with simple labeling
scheme, an object must have the dynamic tag `DT_RISCV_SIMPLE_LP_PLT` if
`GNU_PROPERTY_RISCV_FEATURE_1_CFI_LP_SIMPLE` has set in the output.

`DT_INIT` and `DT_FINI` are not required to be supported and should be avoided
in favour of `DT_PREINIT_ARRAY`, `DT_INIT_ARRAY` and `DT_FINI_ARRAY`.

Expand Down

0 comments on commit fc8e98d

Please sign in to comment.