Skip to content

Commit 03fd9d0

Browse files
authored
Merge pull request #481 from lenary/pr/vendor-not-local
Note Vendor Relocation Scheme is for Static Relocations
2 parents 139d8d8 + 4fa570c commit 03fd9d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

riscv-elf.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,9 @@ Nonstandard extensions are free to use relocation numbers 192-255 for any
615615
purpose. These vendor-specific relocations must be preceded by a
616616
`R_RISCV_VENDOR` relocation against a vendor identifier symbol. The preceding
617617
`R_RISCV_VENDOR` relocation is used by the linker to choose the correct
618-
implementation for the associated nonstandard relocation.
618+
implementation for the associated nonstandard relocation. This scheme only
619+
specifies how to encode static nonstandard relocations; a future version of this
620+
specification may extend the scheme to support dynamic nonstandard relocations.
619621

620622
The vendor identifier symbol should be a defined symbol and should set the type
621623
to `STT_NOTYPE`, binding to `STB_LOCAL`, and the size of symbol to zero.

0 commit comments

Comments
 (0)