]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mips16.S: Skip when __mips_soft_float is defined.
authorSteve Ellcey <sellcey@mips.com>
Tue, 12 Aug 2014 15:28:41 +0000 (15:28 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Tue, 12 Aug 2014 15:28:41 +0000 (15:28 +0000)
2014-08-12  Steve Ellcey  <sellcey@mips.com>

* config/mips/mips16.S:  Skip when __mips_soft_float is defined.

From-SVN: r213870

libgcc/ChangeLog
libgcc/config/mips/mips16.S

index 911c16d3e3eb463ec1f6a960aed4e14dd75d3db3..441ec93b3291e4753686fa2b72cccdd21d3e1b9a 100644 (file)
@@ -1,3 +1,7 @@
+2014-08-12  Steve Ellcey  <sellcey@mips.com>
+
+       * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
+
 2014-08-07  Nathan Sidwell  <nathan@acm.org>
 
        * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
index 6a43a9839e78e20c43a4fb6a044d95b5cc896024..dde8939b4a3c13dbc03bd711b817229d3df22b38 100644 (file)
@@ -21,8 +21,12 @@ a copy of the GCC Runtime Library Exception along with this program;
 see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 <http://www.gnu.org/licenses/>.  */
 
-#ifdef __mips_micromips
-  /* DO NOTHING */
+#if defined(__mips_micromips) || defined(__mips_soft_float)
+  /* Do nothing because this code is only needed when linking
+     against mips16 hard-float objects.  Neither micromips code
+     nor soft-float code can be linked against mips16 hard-float
+     objects so we do not need these routines when building libgcc
+     for those cases.  */
 #else
 
 /* This file contains mips16 floating point support functions.  These
@@ -749,4 +753,4 @@ CALL_STUB_RET (__mips16_call_stub_dc_10, 10, DC)
 #endif /* !__mips_single_float */
 
 #endif
-#endif /* __mips_micromips */
+#endif /* defined(__mips_micromips) || defined(__mips_soft_float) */