aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-07-18 04:13:05 +0000
committerBen Elliston <bje@au.ibm.com>2005-07-18 04:13:05 +0000
commitdf45824af62939f14640a589abb910cf81efdf65 (patch)
tree0b9f84bbb03a8ea8fe76016a17a2c32d9a85a106 /binutils/readelf.c
parent64f611c437019c30e65583d8420d1cd12ddb2bbd (diff)
downloadgdb-df45824af62939f14640a589abb910cf81efdf65.zip
gdb-df45824af62939f14640a589abb910cf81efdf65.tar.gz
gdb-df45824af62939f14640a589abb910cf81efdf65.tar.bz2
binutils/
* readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding value of DW_ATE_decimal_float instead of DW_ATE_GNU_decimal_float. include/elf/ * dwarf2.h (enum dwarf_type): Remove DW_AT_GNU_decimal_float. Replace with DW_ATE_decimal_float (now in DWARF 3).
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index df85043..0089a0b 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -8616,7 +8616,7 @@ read_and_display_attr_value (unsigned long attribute,
/* 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;
+ case DW_ATE_decimal_float: printf ("(decimal float)"); break;
default:
if (uvalue >= DW_ATE_lo_user
&& uvalue <= DW_ATE_hi_user)