Skip to content

Commit

Permalink
Merge pull request #446 from cmuellner/picm-asm
Browse files Browse the repository at this point in the history
PIC medany: Fix parameters of load instruction
  • Loading branch information
kito-cheng authored Jul 18, 2024
2 parents 6072b0d + 3ee91c2 commit 9fec608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riscv-elf.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ This model is similar to the medium any code model, but uses the
# Calculate address of non-local symbol
.Ltmp3: auipc a0, %got_pcrel_hi(symbol)
l[w|d] a0, a0, %pcrel_lo(.Ltmp3)
l[w|d] a0, %pcrel_lo(.Ltmp3)(a0)
----

== Dynamic Linking
Expand Down

0 comments on commit 9fec608

Please sign in to comment.