H8 bitrot fixes

This commit is contained in:
Steve Chamberlain 1992-02-27 03:37:37 +00:00
parent 806147fd5c
commit 5373c4396a
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
Wed Feb 26 19:26:28 1992 Steve Chamberlain (sac at thepub.cygnus.com)
* read.c, obj-coffbfd.c : fix h8300 specific bit rot
* expr.c (operand): if can't work out what sort of operand it is,
then look through FLT_CHARS for a hint.
Tue Feb 25 14:17:15 1992 Steve Chamberlain (sac at rtl.cygnus.com)
* expr.c: If an expression is single comma, then return with

View File

@ -828,7 +828,8 @@ DEFUN_VOID(obj_coff_endef)
case C_FCN:
S_SET_SEGMENT(def_symbol_in_progress, SEG_E0);
if (def_symbol_in_progress->sy_symbol.ost_entry._n._n_nptr[1][1] == 'b') { /* .bf */
if (def_symbol_in_progress->sy_symbol.ost_entry._n._n_nptr[1][1] == 'b'
&& def_symbol_in_progress->sy_symbol.ost_entry._n._n_nptr[1][2] == 'f') { /* .bf */
if (function_lineoff < 0) {
fprintf(stderr, "`.bf' symbol without preceding function\n");
} /* missing function symbol */