aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@rivosinc.com>2024-05-06 15:34:26 -0600
committerJeff Law <jlaw@ventanamicro.com>2024-05-06 15:34:26 -0600
commit6ffea3e37380860507cce08af42a997fbdb5d754 (patch)
tree96847357d7cd9e51665d2dd4501de278fcef438e /gcc
parent975bb17e2f6bc90d366237ab1c5dc9b8df2dee69 (diff)
downloadgcc-6ffea3e37380860507cce08af42a997fbdb5d754.zip
gcc-6ffea3e37380860507cce08af42a997fbdb5d754.tar.gz
gcc-6ffea3e37380860507cce08af42a997fbdb5d754.tar.bz2
RISC-V: Document -mcmodel=large
This slipped through the cracks. Probably also NEWS-worthy. gcc/ChangeLog: * doc/invoke.texi (RISC-V): Add -mcmodel=large.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/invoke.texi7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 9456ced..dc4c5a3 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1252,7 +1252,7 @@ See RS/6000 and PowerPC Options.
-msave-restore -mno-save-restore
-mshorten-memrefs -mno-shorten-memrefs
-mstrict-align -mno-strict-align
--mcmodel=medlow -mcmodel=medany
+-mcmodel=medlow -mcmodel=medany -mcmodel=large
-mexplicit-relocs -mno-explicit-relocs
-mrelax -mno-relax
-mriscv-attribute -mno-riscv-attribute
@@ -31049,6 +31049,11 @@ The code generated by the medium-any code model is position-independent, but is
not guaranteed to function correctly when linked into position-independent
executables or libraries.
+@opindex -mcmodel=large
+@item -mcmodel=large
+Generate code for a large code model, which has no restrictions on size or
+placement of symbols.
+
@item -mexplicit-relocs
@itemx -mno-exlicit-relocs
Use or do not use assembler relocation operators when dealing with symbolic