diff options
author | Alan Modra <amodra@gmail.com> | 2013-08-20 15:01:41 +0930 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2013-08-20 15:01:41 +0930 |
commit | a98cbc3694b03f28ebd51581c6d1cd5c13c52e10 (patch) | |
tree | 9d8ea23af905431e2974276f02cdcf63ba1f1f2c /libiberty | |
parent | 6a56e2dd33351ab1dd1cdb06bc4f71bcd4d4abaf (diff) | |
download | gcc-a98cbc3694b03f28ebd51581c6d1cd5c13c52e10.zip gcc-a98cbc3694b03f28ebd51581c6d1cd5c13c52e10.tar.gz gcc-a98cbc3694b03f28ebd51581c6d1cd5c13c52e10.tar.bz2 |
floatformat.h (floatformat_ibm_long_double): Delete.
include/
* floatformat.h (floatformat_ibm_long_double): Delete.
(floatformat_ibm_long_double_big): Declare.
(floatformat_ibm_long_double_little): Declare.
libiberty/
* floatformat.c (floatformat_ibm_long_double): Rename to..
(floatformat_ibm_long_double_big): ..this.
(floatformat_ibm_long_double_little): New.
From-SVN: r201869
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 6 | ||||
-rw-r--r-- | libiberty/floatformat.c | 13 |
2 files changed, 17 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 73b5c29..e4ce0b9 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,9 @@ +2013-08-20 Alan Modra <amodra@gmail.com> + + * floatformat.c (floatformat_ibm_long_double): Rename to.. + (floatformat_ibm_long_double_big): ..this. + (floatformat_ibm_long_double_little): New. + 2013-07-09 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Add dwarfnames.obj diff --git a/libiberty/floatformat.c b/libiberty/floatformat.c index c58ab01..789fa05 100644 --- a/libiberty/floatformat.c +++ b/libiberty/floatformat.c @@ -371,14 +371,23 @@ floatformat_ibm_long_double_is_valid (const struct floatformat *fmt, } } -const struct floatformat floatformat_ibm_long_double = +const struct floatformat floatformat_ibm_long_double_big = { floatformat_big, 128, 0, 1, 11, 1023, 2047, 12, 52, floatformat_intbit_no, - "floatformat_ibm_long_double", + "floatformat_ibm_long_double_big", floatformat_ibm_long_double_is_valid, &floatformat_ieee_double_big }; + +const struct floatformat floatformat_ibm_long_double_little = +{ + floatformat_little, 128, 0, 1, 11, 1023, 2047, 12, 52, + floatformat_intbit_no, + "floatformat_ibm_long_double_little", + floatformat_ibm_long_double_is_valid, + &floatformat_ieee_double_little +}; #ifndef min |