Skip to content

Commit

Permalink
Merge pull request #215 from riscv-non-isa/gp-export
Browse files Browse the repository at this point in the history
Document we must export  to dynamic symbol table
  • Loading branch information
kito-cheng authored Sep 29, 2021
2 parents 6eee4fc + 424b37b commit 6608844
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 @@ -165,6 +165,9 @@ table.
+
See <<Dynamic Linking>> for the meaning of `STO_RISCV_VARIANT_CC`.

`__global_pointer$` must be exported in the dynamic symbol table of dynamically-linked
executables if there are any GP-relative accesses present in the executable.

=== Relocations

RISC-V is a classical RISC architecture that has densely packed non-word
Expand Down

0 comments on commit 6608844

Please sign in to comment.