aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-04-18 06:21:09 +0100
committerSam James <sam@gentoo.org>2025-09-06 21:40:02 +0100
commit044d828724cb0169ee7721ae208297c2b8d5a8fd (patch)
tree6d6623970cef8543bec50186b02ed24868bbff24 /gcc
parent8d381528c7894702d5000aa89c3da63833d4b3f5 (diff)
downloadgcc-044d828724cb0169ee7721ae208297c2b8d5a8fd.zip
gcc-044d828724cb0169ee7721ae208297c2b8d5a8fd.tar.gz
gcc-044d828724cb0169ee7721ae208297c2b8d5a8fd.tar.bz2
doc: fix -momit-leaf-frame-pointer typo
For x86, the option is -momit-leaf-frame-pointer, not -fomit-leaf-frame-pointer. gcc/ChangeLog: * doc/invoke.texi (x86 Options): Fix '-momit-leaf-frame-pointer' typo.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/invoke.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 7cc7bbf..c586956 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -36645,7 +36645,7 @@ The option is similar to @option{-mmemcpy-strategy=} except that it is to contro
Don't keep the frame pointer in a register for leaf functions. This
avoids the instructions to save, set up, and restore frame pointers and
makes an extra register available in leaf functions. The option
-@option{-fomit-leaf-frame-pointer} removes the frame pointer for leaf functions,
+@option{-momit-leaf-frame-pointer} removes the frame pointer for leaf functions,
which might make debugging harder.
@opindex mtls-direct-seg-refs