From 5373c4396a63f20feadc9550873eef6f98e2aa47 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Thu, 27 Feb 1992 03:37:37 +0000 Subject: [PATCH] H8 bitrot fixes --- gas/ChangeLog | 7 +++++++ gas/config/obj-coffbfd.c | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 7d12119119a..e7eb4032946 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/obj-coffbfd.c b/gas/config/obj-coffbfd.c index 3936ebf7253..e8d14c21895 100644 --- a/gas/config/obj-coffbfd.c +++ b/gas/config/obj-coffbfd.c @@ -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 */ -- 2.30.2