diff --git a/gcc/doc/fragments.texi b/gcc/doc/fragments.texi index b6d8541c8ca820fa732363a05221e2cd4d1251c2..a060635c9cee7374d9d187858ac87acdd08860f2 100644 --- a/gcc/doc/fragments.texi +++ b/gcc/doc/fragments.texi @@ -117,12 +117,15 @@ specified, there are combinations that should not be built. In that case, set @code{MULTILIB_EXCEPTIONS} to be all of the switch exceptions in shell case syntax that should not be built. -For example the ARM processor cannot execute both hardware floating -point instructions and the reduced size THUMB instructions at the same -time, so there is no need to build libraries with both of these -options enabled. Therefore @code{MULTILIB_EXCEPTIONS} is set to: +For example on ARM targets @code{-mfloat-abi=soft} requests to use a +softfloat implementation for floating-point operations. Therefore, it +does not make sense to find both @code{-mfloat-abi=soft} and an +@code{mfpu} option on the command line so @code{MULTILIB_EXCEPTIONS} +could contain the following exception (assuming that @code{-mfloat-abi} +comes after in MULTILIB_OPTIONS and given that soft is the default +value): @smallexample -*mthumb/*mhard-float* +*mfpu=* @end smallexample @findex MULTILIB_REQUIRED