diff options
author | Steve Ellcey <sellcey@mips.com> | 2014-08-12 15:28:41 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2014-08-12 15:28:41 +0000 |
commit | 5b1ea7c568195aec154bf9445d53d4c5589175ae (patch) | |
tree | 8307451936d0cfa3a29cc416fae6c9c721199f27 /libgcc/config/mips | |
parent | 191736612d202edb3ff400507eab4f2737ddc77d (diff) | |
download | gcc-5b1ea7c568195aec154bf9445d53d4c5589175ae.zip gcc-5b1ea7c568195aec154bf9445d53d4c5589175ae.tar.gz gcc-5b1ea7c568195aec154bf9445d53d4c5589175ae.tar.bz2 |
mips16.S: Skip when __mips_soft_float is defined.
2014-08-12 Steve Ellcey <sellcey@mips.com>
* config/mips/mips16.S: Skip when __mips_soft_float is defined.
From-SVN: r213870
Diffstat (limited to 'libgcc/config/mips')
-rw-r--r-- | libgcc/config/mips/mips16.S | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libgcc/config/mips/mips16.S b/libgcc/config/mips/mips16.S index 6a43a98..dde8939 100644 --- a/libgcc/config/mips/mips16.S +++ b/libgcc/config/mips/mips16.S @@ -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) */ |