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]

Re: update DW_AT_decimal_float constant (committed)


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."


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