Skip to content

Commit 46fd42e

Browse files
author
Kuan-Lin Chen
committed
Add note for range extension thunk.
1 parent 5396750 commit 46fd42e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

riscv-elf.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@ NOTE: Same as getting address of symbol, each pool entry has to be located
156156
within the range between -2GiB and +2GiB from its access intructions. The
157157
function call can reach the whole 64-bit address space.
158158

159+
NOTE: The code generation of function call may be changed after the range
160+
extension thunk is implemented. The compiler can emit `call` directly,
161+
and leave the model variation to the linker which could decide to jump
162+
via the literal pool or not.
163+
159164
[,asm]
160165
----
161166
# Function call

0 commit comments

Comments
 (0)