Skip to content

Commit ddc6397

Browse files
authored
Merge pull request #260 from riscv-non-isa/rewrite-variant-cc
riscv-elf: Rework specifying when STO_RISCV_VARIANT_CC is needed
2 parents 8ad4cdd + 41827da commit ddc6397

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

riscv-elf.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,8 @@ table (GOT) for non-local symbol addresses.
112112

113113
== Dynamic Linking
114114

115-
Run-time linkers that use lazy binding must preserve all argument registers
116-
used in the standard calling convention for the ABI in use. Any functions that
117-
use additional argument registers must be annotated with
115+
Any functions that use registers in a way that is incompatible with
116+
the register convention of the ABI in use must be annotated with
118117
`STO_RISCV_VARIANT_CC`, as defined in <<Symbol Table>>.
119118

120119
NOTE: Vector registers have a variable size depending on the hardware

0 commit comments

Comments
 (0)