Skip to content

Commit

Permalink
Allow an optional suffix uniquifier string for mapping sybmol
Browse files Browse the repository at this point in the history
  • Loading branch information
kito-cheng committed Sep 24, 2021
1 parent 85f2d9b commit 68b93df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions riscv-elf.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,9 @@ without ISA string means using ISA configuration from ELF attribute.
Format and rule of the optional ISA string is same as Tag_RISCV_arch, must
having explicit version, more detailed rule please refer to <<Attributes>>.

Mapping sybmol name is allowed with an optional suffix uniquifier string start
with a dot(`.`), e.g. `$d.yyyy`, `$x.zzzz` or `$xrv64imafdc.abc`.

NOTE: The use case for mapping symbol for instruction(`$x`) with ISA information is
used with ifunc, e.g. library are built with `rv64gc`, but few functions
like memcpy provide two version, one built with `rv64gc`, and one built with
Expand Down

0 comments on commit 68b93df

Please sign in to comment.