This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

update DW_AT_decimal_float constant (committed)


I've committed this as obvious.

Ben


(include/elf/ChangeLog)
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).

Index: dwarf2.h
===================================================================
RCS file: /cvs/src/src/include/elf/dwarf2.h,v
retrieving revision 1.17
diff -u -p -r1.17 dwarf2.h
--- dwarf2.h    18 May 2005 22:42:09 -0000      1.17
+++ dwarf2.h    18 Jul 2005 04:08:53 -0000
@@ -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

(binutils/ChangeLog)
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.

Index: readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.305
diff -u -p -r1.305 readelf.c
--- readelf.c   14 Jul 2005 22:51:58 -0000      1.305
+++ readelf.c   18 Jul 2005 04:09:42 -0000
@@ -8616,7 +8616,7 @@ read_and_display_attr_value (unsigned lo
          /* 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)

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]