[9/9] Clarify -shared effect on crtfastmath.o
Commit Message
This rewords the note to not specifically mention crtfastmath.o
but FP environment altering by -ffast-math or -Ofast.
I'll push this after the target parts are approved.
PR target/55522
* doc/invoke.texi (-shared): Clarify effect on -ffast-math
and -Ofast FP environment side-effects.
---
gcc/doc/invoke.texi | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
@@ -17693,8 +17693,9 @@ needs to build supplementary stub code for constructors to work. On
multi-libbed systems, @samp{gcc -shared} must select the correct support
libraries to link against. Failing to supply the correct flags may lead
to subtle defects. Supplying them in cases where they are not necessary
-is innocuous. For x86, crtfastmath.o will not be added when
-@option{-shared} is specified. }
+is innocuous. @option{-shared} suppresses the addition of startup code
+to alter the floating-point environment as done with @option{-ffast-math}
+or @option{-Ofast} on some targets.}
@item -shared-libgcc
@itemx -static-libgcc