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 7d12119119ade73e1e7e149a961466baa1e4dc3a..e7eb4032946cf738327ce6a655890ba52ae93767 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 3936ebf725310f2ef7551b0d4c30c0cd482daaa4..e8d14c21895ca486e6b5dade1e7f0b5617de8b6b 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 */