more null/empty string fixups
This commit is contained in:
parent
0bc1509110
commit
9902404797
4 changed files with 16 additions and 4 deletions
|
@ -1,4 +1,16 @@
|
|||
Mon Oct 11 16:46:31 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
|
||||
Tue Oct 12 03:33:26 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
||||
|
||||
* config/tc-i960.c (md_begin): Use null pointer, not empty string,
|
||||
as initial "return" value in case hashing isn't needed.
|
||||
|
||||
* config/tc-a29k.c (md_atof): Return null, not empty string, on
|
||||
success.
|
||||
* config/tc-h8300.c (md_atof), config/tc-h8500.c (md_atof),
|
||||
config/tc-hppa.c (md_atof), config/tc-i860.c (md_atof),
|
||||
config/tc-i960.c (md_atof), config/tc-m88k.c (md_atof),
|
||||
config/tc-ns32k.c (md_atof), config/tc-sh.c (md_atof): Ditto.
|
||||
|
||||
Mon Oct 11 16:46:31 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
|
||||
|
||||
fix for pr 3571
|
||||
* config/tc-h8300.c (get_specific): Special action if 8 bit
|
||||
|
|
|
@ -766,7 +766,7 @@ md_atof (type, litP, sizeP)
|
|||
md_number_to_chars (litP, (valueT) (*wordP++), sizeof (LITTLENUM_TYPE));
|
||||
litP += sizeof (LITTLENUM_TYPE);
|
||||
}
|
||||
return "";
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -1230,7 +1230,7 @@ md_atof (type, litP, sizeP)
|
|||
md_number_to_chars (litP, (long) (*wordP++), sizeof (LITTLENUM_TYPE));
|
||||
litP += sizeof (LITTLENUM_TYPE);
|
||||
}
|
||||
return ""; /* Someone should teach Dean about null pointers */
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
@ -1117,7 +1117,7 @@ md_atof (type, litP, sizeP)
|
|||
md_number_to_chars (litP, (long) (*wordP++), sizeof (LITTLENUM_TYPE));
|
||||
litP += sizeof (LITTLENUM_TYPE);
|
||||
}
|
||||
return ""; /* Someone should teach Dean about null pointers */
|
||||
return 0;
|
||||
}
|
||||
|
||||
int md_short_jump_size = 4;
|
||||
|
|
Loading…
Reference in a new issue