diff options
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 |