aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-09-28 13:56:19 +0000
committerNick Clifton <nickc@gcc.gnu.org>2011-09-28 13:56:19 +0000
commit2996d8c3320a909bf339aa513fc76f6abf91e9b7 (patch)
tree1568f0fc4453ae55ce2d6ff31c87eed41e59f8dd /libgcc
parent206c3e102a4f90a27acf45ac0e6ffc87c94ae7e8 (diff)
downloadgcc-2996d8c3320a909bf339aa513fc76f6abf91e9b7.zip
gcc-2996d8c3320a909bf339aa513fc76f6abf91e9b7.tar.gz
gcc-2996d8c3320a909bf339aa513fc76f6abf91e9b7.tar.bz2
rx-lib.h: Always restrict doubles to the SF type when 64-bit doubles are not enabled.
* config/rx/rx-lib.h: Always restrict doubles to the SF type when 64-bit doubles are not enabled. * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf and floatunsisf functions. From-SVN: r179314
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog9
-rw-r--r--libgcc/config/rx/rx-abi.h17
-rw-r--r--libgcc/config/rx/rx-lib.h3
3 files changed, 17 insertions, 12 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 2f6973b..a9f771c 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,5 +1,12 @@
+2011-09-28 Nick Clifton <nickc@redhat.com>
+
+ * config/rx/rx-lib.h: Always restrict doubles to the SF type when
+ 64-bit doubles are not enabled.
+ * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
+ and floatunsisf functions.
+
2011-09-13 Paul Brook <paul@codesourcery.com>
-
+
* config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
* unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
* unwind-arm-common.inc: New file.
diff --git a/libgcc/config/rx/rx-abi.h b/libgcc/config/rx/rx-abi.h
index 8a0bbdc..6882efc 100644
--- a/libgcc/config/rx/rx-abi.h
+++ b/libgcc/config/rx/rx-abi.h
@@ -80,15 +80,6 @@
#endif
-#ifdef L_si_to_sf
-#define DECLARE_LIBRARY_RENAMES RENAME_LIBRARY (floatsisf, CONV32sf)
-#endif
-
-#ifdef L_usi_to_sf
-#define DECLARE_LIBRARY_RENAMES RENAME_LIBRARY (floatunsisf, CONV32uf)
-#endif
-
-
#ifdef __RX_64BIT_DOUBLES__
@@ -176,6 +167,14 @@
#define DECLARE_LIBRARY_RENAMES RENAME_LIBRARY (negdf2, NEGd)
#endif
+#ifdef L_si_to_sf
+#define DECLARE_LIBRARY_RENAMES RENAME_LIBRARY (floatsisf, CONV32sf)
+#endif
+
+#ifdef L_usi_to_sf
+#define DECLARE_LIBRARY_RENAMES RENAME_LIBRARY (floatunsisf, CONV32uf)
+#endif
+
/* The 64-bit comparison functions do not have aliases because libgcc2
does not provide them. Instead they have to be supplied in
rx-abi-functions.c. */
diff --git a/libgcc/config/rx/rx-lib.h b/libgcc/config/rx/rx-lib.h
index fb1d146..c83516f 100644
--- a/libgcc/config/rx/rx-lib.h
+++ b/libgcc/config/rx/rx-lib.h
@@ -1,6 +1,5 @@
-#ifdef FLOAT
#ifndef __RX_64BIT_DOUBLES__
#define DF SF
#define FLOAT_ONLY
#endif
-#endif
+