H8 bitrot fixes
authorSteve Chamberlain <sac@cygnus>
Thu, 27 Feb 1992 03:37:37 +0000 (03:37 +0000)
committerSteve Chamberlain <sac@cygnus>
Thu, 27 Feb 1992 03:37:37 +0000 (03:37 +0000)
gas/ChangeLog
gas/config/obj-coffbfd.c

index 7d12119..e7eb403 100644 (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
index 3936ebf..e8d14c2 100644 (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 */