This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: update DW_AT_decimal_float constant (committed)
- From: Andreas Schwab <schwab at suse dot de>
- To: Ben Elliston <bje at au1 dot ibm dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 18 Jul 2005 11:07:07 +0200
- Subject: Re: update DW_AT_decimal_float constant (committed)
- References: <42DB2BC7.6070401@au.ibm.com>
Ben Elliston <bje@au1.ibm.com> writes:
> (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;
You should probably fix the comment as well.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."