diff options
author | DJ Delorie <dj@redhat.com> | 2005-10-31 18:01:19 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-10-31 18:01:19 +0000 |
commit | fb10537e39d4cdf8e69a289ef96872c916ba663c (patch) | |
tree | 2f11555e5415859f6d889a3f24e1b0a98d9f84d4 /libiberty/floatformat.c | |
parent | e52b687cc51d9dff8b2bfa7324f62356b7516ac5 (diff) | |
download | gdb-fb10537e39d4cdf8e69a289ef96872c916ba663c.zip gdb-fb10537e39d4cdf8e69a289ef96872c916ba663c.tar.gz gdb-fb10537e39d4cdf8e69a289ef96872c916ba663c.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/floatformat.c')
-rw-r--r-- | libiberty/floatformat.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libiberty/floatformat.c b/libiberty/floatformat.c index 8f0d789..28c9fbf 100644 --- a/libiberty/floatformat.c +++ b/libiberty/floatformat.c @@ -108,6 +108,30 @@ const struct floatformat floatformat_ieee_double_littlebyte_bigword = floatformat_always_valid }; +/* floatformat for VAX. Not quite IEEE, but close enough. */ + +const struct floatformat floatformat_vax_f = +{ + floatformat_vax, 32, 0, 1, 8, 129, 0, 9, 23, + floatformat_intbit_no, + "floatformat_vax_f", + floatformat_always_valid +}; +const struct floatformat floatformat_vax_d = +{ + floatformat_vax, 64, 0, 1, 8, 129, 0, 9, 55, + floatformat_intbit_no, + "floatformat_vax_d", + floatformat_always_valid +}; +const struct floatformat floatformat_vax_g = +{ + floatformat_vax, 64, 0, 1, 11, 1025, 0, 12, 52, + floatformat_intbit_no, + "floatformat_vax_g", + floatformat_always_valid +}; + static int floatformat_i387_ext_is_valid (const struct floatformat *fmt, const void *from); |