OSDN Git Service

binutils/ChangeLog
authorbje <bje>
Wed, 18 May 2005 22:42:07 +0000 (22:42 +0000)
committerbje <bje>
Wed, 18 May 2005 22:42:07 +0000 (22:42 +0000)
* 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.

binutils/ChangeLog
binutils/readelf.c
include/elf/ChangeLog
include/elf/dwarf2.h

index 7f410d3..f3d0b77 100644 (file)
@@ -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 $<.
index 0891847..21b11a1 100644 (file)
@@ -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)
index 6f68882..66c553f 100644 (file)
@@ -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
index 6932489..1ce89ee 100644 (file)
@@ -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