mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +08:00
1999-09-11 Donn Terry <donn@interix.com>
* config/atof-ieee.c (atof_ieee): Change what_kind to int. * config/atof-vax.c (flonum_gen2vax): Change format_letter to int. (md_atof): Return NULL rather than 0. * config/tc-i386.c (md_atof): Change type to int.
This commit is contained in:
@ -5,6 +5,12 @@
|
|||||||
|
|
||||||
1999-09-11 Donn Terry <donn@interix.com>
|
1999-09-11 Donn Terry <donn@interix.com>
|
||||||
|
|
||||||
|
* config/atof-ieee.c (atof_ieee): Change what_kind to int.
|
||||||
|
* config/atof-vax.c (flonum_gen2vax): Change format_letter to
|
||||||
|
int.
|
||||||
|
(md_atof): Return NULL rather than 0.
|
||||||
|
* config/tc-i386.c (md_atof): Change type to int.
|
||||||
|
|
||||||
* config/obj-coff.c (obj_coff_section): Default to setting
|
* config/obj-coff.c (obj_coff_section): Default to setting
|
||||||
SEC_LOAD. Don't set SEC_DATA for 'w' modifier.
|
SEC_LOAD. Don't set SEC_DATA for 'w' modifier.
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ make_invalid_floating_point_number (words)
|
|||||||
char *
|
char *
|
||||||
atof_ieee (str, what_kind, words)
|
atof_ieee (str, what_kind, words)
|
||||||
char *str; /* Text to convert to binary. */
|
char *str; /* Text to convert to binary. */
|
||||||
char what_kind; /* 'd', 'f', 'g', 'h' */
|
int what_kind; /* 'd', 'f', 'g', 'h' */
|
||||||
LITTLENUM_TYPE *words; /* Build the binary here. */
|
LITTLENUM_TYPE *words; /* Build the binary here. */
|
||||||
{
|
{
|
||||||
/* Extra bits for zeroed low-order bits. The 1st MAX_PRECISION are
|
/* Extra bits for zeroed low-order bits. The 1st MAX_PRECISION are
|
||||||
|
@ -260,7 +260,7 @@ atof_vax (str, what_kind, words)
|
|||||||
|
|
||||||
int /* 0: OK. */
|
int /* 0: OK. */
|
||||||
flonum_gen2vax (format_letter, f, words)
|
flonum_gen2vax (format_letter, f, words)
|
||||||
char format_letter; /* One of 'd' 'f' 'g' 'h'. */
|
int format_letter; /* One of 'd' 'f' 'g' 'h'. */
|
||||||
FLONUM_TYPE *f;
|
FLONUM_TYPE *f;
|
||||||
LITTLENUM_TYPE *words; /* Deliver answer here. */
|
LITTLENUM_TYPE *words; /* Deliver answer here. */
|
||||||
{
|
{
|
||||||
@ -511,7 +511,7 @@ md_atof (what_statement_type, literalP, sizeP)
|
|||||||
};
|
};
|
||||||
|
|
||||||
*sizeP = number_of_chars;
|
*sizeP = number_of_chars;
|
||||||
return kind_of_float ? 0 : _("Bad call to md_atof()");
|
return kind_of_float ? NULL : _("Bad call to md_atof()");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* end of atof-vax.c */
|
/* end of atof-vax.c */
|
||||||
|
@ -4009,7 +4009,7 @@ md_chars_to_number (con, nbytes)
|
|||||||
is stored in *sizeP . An error message is returned, or NULL on OK. */
|
is stored in *sizeP . An error message is returned, or NULL on OK. */
|
||||||
char *
|
char *
|
||||||
md_atof (type, litP, sizeP)
|
md_atof (type, litP, sizeP)
|
||||||
char type;
|
int type;
|
||||||
char *litP;
|
char *litP;
|
||||||
int *sizeP;
|
int *sizeP;
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user