binutils/ChangeLog

* 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.
This commit is contained in:
Ben Elliston 2005-05-18 22:42:09 +00:00
parent cb1afa5cf4
commit d68f40330b
4 changed files with 16 additions and 2 deletions

View 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 $<.

View 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)

View 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

View 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