diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-05-18 22:42:09 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2005-05-18 22:42:09 +0000 |
commit | d68f40330b9e3c4b4d87bcee28671cea893959f3 (patch) | |
tree | fc8c1cc15786addad53aeab76a1a26542b67dd97 /binutils | |
parent | cb1afa5cf44cf3a223975c6a174fe42d53321126 (diff) | |
download | gdb-d68f40330b9e3c4b4d87bcee28671cea893959f3.zip gdb-d68f40330b9e3c4b4d87bcee28671cea893959f3.tar.gz gdb-d68f40330b9e3c4b4d87bcee28671cea893959f3.tar.bz2 |
binutils/ChangeLog
* readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
value of DW_ATE_GNU_decimal_float.
include/elf/ChangeLog
* dwarf2.h (enum dwarf_type): Assign DW_ATE_GNU_decimal_float from
the user-defined encoding space pending inclusion in the standard.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 7f410d3..f3d0b77 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2005-05-19 Ben Elliston <bje@au.ibm.com> + + * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding + value of DW_ATE_GNU_decimal_float. + 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> * doc/Makefile.am (config.texi): Don't use $<. diff --git a/binutils/readelf.c b/binutils/readelf.c index 0891847..21b11a1 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -8419,6 +8419,8 @@ read_and_display_attr_value (unsigned long attribute, case DW_ATE_unsigned_char: printf ("(unsigned char)"); break; /* DWARF 2.1 value. */ case DW_ATE_imaginary_float: printf ("(imaginary float)"); break; + /* GNU extension. */ + case DW_ATE_GNU_decimal_float: printf ("(decimal float)"); break; default: if (uvalue >= DW_ATE_lo_user && uvalue <= DW_ATE_hi_user) |