]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
LoongArch: Modify the document to remove options that don't exist.
authorLulu Cheng <chenglulu@loongson.cn>
Wed, 9 Oct 2024 07:50:13 +0000 (15:50 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Fri, 22 Nov 2024 07:23:30 +0000 (15:23 +0800)
gcc/ChangeLog:

* doc/invoke.texi: Remove the non-existent option
'-msmall-data-limit' and add a description of '-G'.

gcc/doc/invoke.texi

index c62c6bc590305b29ef3bcc68b02f439778391921..0951901f50af7d5aac4e664c5619affa1f5333c7 100644 (file)
@@ -1068,7 +1068,7 @@ Objective-C and Objective-C++ Dialects}.
 -mbranch-cost=@var{n}  -mcheck-zero-division -mno-check-zero-division
 -mcond-move-int  -mno-cond-move-int
 -mcond-move-float  -mno-cond-move-float
--memcpy  -mno-memcpy -mstrict-align -mno-strict-align
+-memcpy  -mno-memcpy -mstrict-align -mno-strict-align -G @var{num}
 -mmax-inline-memcpy-size=@var{n}
 -mexplicit-relocs=@var{style} -mexplicit-relocs -mno-explicit-relocs
 -mdirect-extern-access -mno-direct-extern-access
@@ -27282,10 +27282,10 @@ Avoid or allow generating memory accesses that may not be aligned on a natural
 object boundary as described in the architecture specification. The default is
 @option{-mno-strict-align}.
 
-@opindex msmall-data-limit
-@item -msmall-data-limit=@var{number}
-Put global and static data smaller than @var{number} bytes into a special
-section (on some targets).  The default value is 0.
+@opindex G
+@item -G @var{num}
+Put global and static data smaller than @var{num} bytes into a small data
+section.  The default value is 0.
 
 @opindex mmax-inline-memcpy-size
 @item -mmax-inline-memcpy-size=@var{n}