Skip to content

Commit 17a3bdb

Browse files
committed
[RISCV][docs] Fix List Formatting
1 parent 1e23a61 commit 17a3bdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/docs/RISCVUsage.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ Global Pointer (GP) Relaxation and the Small Data Limit
429429
Some of the RISC-V psABI variants reserve ``gp`` (``x3``) for use as a "Global Pointer", to make generating data addresses more efficient.
430430

431431
To use this functionality, you need to be doing all of the following:
432+
432433
* Use the ``medlow`` (aka ``small``) code model;
433434
* Not use the ``gp`` register for any other uses (some platforms use it for the shadow stack and others as a temporary -- as denoted by the ``Tag_RISCV_x3_reg_usage`` build attribute);
434435
* Compile your objects with Clang's ``-mrelax`` option, to enable relaxation annotations on relocatable objects (this is the default, but ``-mno-relax`` disables these relaxation annotations);

0 commit comments

Comments
 (0)