Previous: MIPS FP ABI Selection, Up: MIPS FP ABIs


9.26.9.4 Linking different FP ABI variants

Modules using the default FP ABI (no floating-point) can be linked with any other (singular) FP ABI variant.

Special compatibility support exists for O32 with the four double-precision FP ABI variants. The ‘-mfpxx’ FP ABI is specifically designed to be compatible with the standard double-precision ABI and the ‘-mfp64’ FP ABIs. This makes it desirable for O32 modules to be built as ‘-mfpxx’ to ensure the maximum compatibility with other modules produced for more specific needs. The only FP ABIs which cannot be linked together are the standard double-precision ABI and the full ‘-mfp64’ ABI with ‘-modd-spreg’.