diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-12 02:12:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-12 02:12:38 +0000 |
commit | 2ab9b79ef9cf161728a55edbb8b004a79a5423f0 (patch) | |
tree | 4a80ddb97ed59783989f3ab67136b7e0b30de15e /gas | |
parent | 5881e4aab3f5cdc7e375f12a3feb37406b20f5b8 (diff) | |
download | gdb-2ab9b79ef9cf161728a55edbb8b004a79a5423f0.zip gdb-2ab9b79ef9cf161728a55edbb8b004a79a5423f0.tar.gz gdb-2ab9b79ef9cf161728a55edbb8b004a79a5423f0.tar.bz2 |
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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/atof-ieee.c | 2 | ||||
-rw-r--r-- | gas/config/atof-vax.c | 4 | ||||
-rw-r--r-- | gas/config/tc-i386.c | 2 |
4 files changed, 10 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 244233a..5903fd0 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -5,6 +5,12 @@ 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 SEC_LOAD. Don't set SEC_DATA for 'w' modifier. diff --git a/gas/config/atof-ieee.c b/gas/config/atof-ieee.c index fbf0ffb..c9bfc5b 100644 --- a/gas/config/atof-ieee.c +++ b/gas/config/atof-ieee.c @@ -160,7 +160,7 @@ make_invalid_floating_point_number (words) char * atof_ieee (str, what_kind, words) 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. */ { /* Extra bits for zeroed low-order bits. The 1st MAX_PRECISION are diff --git a/gas/config/atof-vax.c b/gas/config/atof-vax.c index 45b90a8..bc27cdd 100644 --- a/gas/config/atof-vax.c +++ b/gas/config/atof-vax.c @@ -260,7 +260,7 @@ atof_vax (str, what_kind, words) int /* 0: OK. */ 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; LITTLENUM_TYPE *words; /* Deliver answer here. */ { @@ -511,7 +511,7 @@ md_atof (what_statement_type, literalP, sizeP) }; *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 */ diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index a5f934e..74f1bd3 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -4009,7 +4009,7 @@ md_chars_to_number (con, nbytes) is stored in *sizeP . An error message is returned, or NULL on OK. */ char * md_atof (type, litP, sizeP) - char type; + int type; char *litP; int *sizeP; { |