From bd45bb8f560aabfa01b766e43040950923258f78 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Thu, 5 Sep 2024 19:26:53 -0700 Subject: [PATCH] Fix spelling aupic -> auipc Signed-off-by: Craig Topper --- riscv-elf.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscv-elf.adoc b/riscv-elf.adoc index 08d948a5..9d4ea27f 100644 --- a/riscv-elf.adoc +++ b/riscv-elf.adoc @@ -131,7 +131,7 @@ The `large` code model allows the code to address the whole RV64 address space. Thus, this model is only available for RV64. By putting object addresses into literal pools, a 64-bit address literal can be loaded from the pool. -NOTE: Because calculating the pool entry address must use `aupic` and +NOTE: Because calculating the pool entry address must use `auipc` and `addi` or `ld`, each pool entry has to be located within the range between -2GiB and +2GiB from its access intructions. In general, the pool is appeneded in .text section or put into .rodata section.