@@ -21,7 +21,7 @@ in the current code model.
2121=== Small code model
2222
2323The small code model, or `medlow`, allows the code to address the whole RV32
24- address space or the lower 2 GiB and highest 2GiB of the RV64 address space
24+ address space or the lower 2 GiB and highest 2 GiB of the RV64 address space
2525(`0xFFFFFFFF7FFFF800` ~ `0xFFFFFFFFFFFFFFFF` and `0x0` ~ `0x000000007FFFF7FF`).
2626By using the instructions `lui` and `ld` or `st`, when referring to an object, or
2727`addi`, when calculating an address literal, for example,
@@ -178,7 +178,7 @@ ELFDATA2MSB:::: Big-endian Object File
178178--
179179
180180e_machine:: Identifies the machine this ELF file targets. Always contains
181- EM_RISCV (243) for RISC-V ELF files. We only support RISC-V v2 family ISAs,
181+ EM_RISCV (243) for RISC-V ELF files. We only support RISC-V v2 family ISAs;
182182this support is implicit.
183183
184184e_flags:: Describes the format of this ELF file. These flags are used by the
@@ -290,7 +290,7 @@ column is given below:
290290
291291Enum:: The number of the relocation, encoded in the r_info field
292292
293- ELF Reloc Type:: The name of the relocation, omitted the prefix of `R_RISCV_` here .
293+ ELF Reloc Type:: The name of the relocation, omitting the prefix of `R_RISCV_`.
294294
295295Type:: Whether the relocation is a static or runtime relocation:
296296+
@@ -523,7 +523,7 @@ The following assembly and relocations show loading an absolute address:
523523==== Global Offset Table
524524
525525For position independent code in dynamically linked objects, each shared
526- object contains a GOT (Global Offset Table) which contains addresses of
526+ object contains a GOT (Global Offset Table), which contains addresses of
527527global symbols (objects and functions) referred to by the dynamically
528528linked shared object. The GOT in each shared library is filled in by the
529529dynamic linker during program loading, or on the first call to extern functions.
@@ -823,7 +823,7 @@ In the Global Dynamic model, the runtime library provides the `__tls_get_addr` f
823823extern void *__tls_get_addr (tls_index *ti);
824824----
825825
826- where the type tls index are defined as:
826+ where the type tls_index is defined as:
827827
828828[,c]
829829----
0 commit comments