aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-02-27 03:37:37 +0000
committerSteve Chamberlain <sac@cygnus>1992-02-27 03:37:37 +0000
commit5373c4396a63f20feadc9550873eef6f98e2aa47 (patch)
tree278e7f9518dffeb78058877461198ea77652b516 /gas/config
parent806147fd5c4b5dea54e504766b9e5b33467f9ef4 (diff)
downloadgdb-5373c4396a63f20feadc9550873eef6f98e2aa47.zip
gdb-5373c4396a63f20feadc9550873eef6f98e2aa47.tar.gz
gdb-5373c4396a63f20feadc9550873eef6f98e2aa47.tar.bz2
H8 bitrot fixes
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/obj-coffbfd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/obj-coffbfd.c b/gas/config/obj-coffbfd.c
index 3936ebf..e8d14c2 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 */