aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c2
-rw-r--r--include/elf/ChangeLog5
-rw-r--r--include/elf/dwarf2.h6
4 files changed, 16 insertions, 2 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)
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 6f68882..66c553f 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-19 Ben Elliston <bje@au.ibm.com>
+
+ * dwarf2.h (enum dwarf_type): Assign DW_ATE_GNU_decimal_float from
+ the user-defined encoding space pending inclusion in the standard.
+
2005-05-18 Zack Weinberg <zack@codesourcery.com>
* arm.h: Make all #ifndef OLD_ARM_ABI blocks
diff --git a/include/elf/dwarf2.h b/include/elf/dwarf2.h
index 6932489..1ce89ee 100644
--- a/include/elf/dwarf2.h
+++ b/include/elf/dwarf2.h
@@ -1,7 +1,7 @@
/* Declarations and definitions of codes relating to the DWARF2 symbolic
debugging information format.
Copyright (C) 1992, 1993, 1995, 1996, 1997, 1999, 2000, 2001, 2002,
- 2003 Free Software Foundation, Inc.
+ 2003, 2005 Free Software Foundation, Inc.
Written by Gary Funck (gary@intrepid.com) The Ada Joint Program
Office (AJPO), Florida State University and Silicon Graphics Inc.
@@ -554,7 +554,9 @@ 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
+ DW_ATE_HP_imaginary_float128 = 0x86,
+ /* GNU extensions. */
+ DW_ATE_GNU_decimal_float = 0x87 /* Pending DWARF working group. */
};
#define DW_ATE_lo_user 0x80