more null/empty string fixups

This commit is contained in:
Ken Raeburn 1993-10-12 08:45:49 +00:00
parent 0bc1509110
commit 9902404797
4 changed files with 16 additions and 4 deletions

View file

@ -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

View file

@ -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;
}
/*

View file

@ -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

View file

@ -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;