diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 7f410d323a..f3d0b77507 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2005-05-19 Ben Elliston + + * readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding + value of DW_ATE_GNU_decimal_float. + 2005-05-17 Daniel Jacobowitz * doc/Makefile.am (config.texi): Don't use $<. diff --git a/binutils/readelf.c b/binutils/readelf.c index 0891847599..21b11a17ce 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 6f68882a1d..66c553f994 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,8 @@ +2005-05-19 Ben Elliston + + * 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 * arm.h: Make all #ifndef OLD_ARM_ABI blocks diff --git a/include/elf/dwarf2.h b/include/elf/dwarf2.h index 6932489e3a..1ce89ee5fe 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