summaryrefslogtreecommitdiffstats
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
parent64f611c437019c30e65583d8420d1cd12ddb2bbd (diff)
downloadppe42-binutils-df45824af62939f14640a589abb910cf81efdf65.tar.gz
ppe42-binutils-df45824af62939f14640a589abb910cf81efdf65.zip
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).
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c2
-rw-r--r--include/elf/ChangeLog5
-rw-r--r--include/elf/dwarf2.h5
4 files changed, 13 insertions, 4 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index db9a840479..0890c8bf59 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-18 Ben Elliston <bje@au.ibm.com>
+
+ * 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.
+
2005-07-16 Alan Modra <amodra@bigpond.net.au>
* Makefile.am: Run "make dep-am".
diff --git a/binutils/readelf.c b/binutils/readelf.c
index df85043264..0089a0b7bd 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)
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 448402c95a..5b8c3eb3ff 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-18 Ben Elliston <bje@au.ibm.com>
+
+ * dwarf2.h (enum dwarf_type): Remove DW_AT_GNU_decimal_float.
+ Replace with DW_ATE_decimal_float (now in DWARF 3).
+
2005-07-14 Jim Blandy <jimb@redhat.com>
Add support for Renesas M32C and M16C.
diff --git a/include/elf/dwarf2.h b/include/elf/dwarf2.h
index 1ce89ee5fe..268bae58e2 100644
--- a/include/elf/dwarf2.h
+++ b/include/elf/dwarf2.h
@@ -547,6 +547,7 @@ enum dwarf_type
DW_ATE_unsigned_char = 0x8,
/* DWARF 3. */
DW_ATE_imaginary_float = 0x9,
+ DW_ATE_decimal_float = 0xf,
/* HP extensions. */
DW_ATE_HP_float80 = 0x80, /* Floating-point (80 bit). */
DW_ATE_HP_complex_float80 = 0x81, /* Complex floating-point (80 bit). */
@@ -554,9 +555,7 @@ enum dwarf_type
DW_ATE_HP_complex_float128 = 0x83, /* Complex floating-point (128 bit). */
DW_ATE_HP_floathpintel = 0x84, /* Floating-point (82 bit IA64). */
DW_ATE_HP_imaginary_float80 = 0x85,
- DW_ATE_HP_imaginary_float128 = 0x86,
- /* GNU extensions. */
- DW_ATE_GNU_decimal_float = 0x87 /* Pending DWARF working group. */
+ DW_ATE_HP_imaginary_float128 = 0x86
};
#define DW_ATE_lo_user 0x80
OpenPOWER on IntegriCloud