diff options
author | DJ Delorie <dj@redhat.com> | 2013-08-20 06:02:53 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2013-08-20 06:02:53 +0000 |
commit | 21290977cbdd41c6f4e7b297e63901ad491acadd (patch) | |
tree | 1dc45afd95b9932d8a8229144dff0ede15c9c3ff /libiberty | |
parent | e8160f70ec030e9578617f2c2615f150ce6164d2 (diff) | |
download | gdb-21290977cbdd41c6f4e7b297e63901ad491acadd.zip gdb-21290977cbdd41c6f4e7b297e63901ad491acadd.tar.gz gdb-21290977cbdd41c6f4e7b297e63901ad491acadd.tar.bz2 |
merge from gcc
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 |