* config/obj-coffbfd.c (obj_coff_endef): Correct test for .bf
authorIan Lance Taylor <ian@airs.com>
Mon, 15 Mar 1993 20:21:13 +0000 (20:21 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 15 Mar 1993 20:21:13 +0000 (20:21 +0000)
symbol.

gas/ChangeLog
gas/config/obj-coffbfd.c

index c66a14c103cbc3960975fc93a0dddcb27bc1a03d..ae505441f98e12b38d6978ef4cb0ca5adf9bd2fc 100644 (file)
@@ -1,3 +1,8 @@
+Mon Mar 15 12:17:28 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * config/obj-coffbfd.c (obj_coff_endef): Correct test for .bf
+       symbol.
+
 Fri Mar 12 18:33:36 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
 
        * configure.in: recognize sparc-sun-solaris2* instead of -solaris2
index 3358aeb06aaf95809e30fa1734f90de819e411fc..c8b70603fc70eed60fbf076407295b61abc3a9e2 100644 (file)
@@ -913,8 +913,7 @@ DEFUN_VOID (obj_coff_endef)
     case C_FCN:
       S_SET_SEGMENT (def_symbol_in_progress, SEG_E0);
 
-      if (strcmp (def_symbol_in_progress->sy_symbol.ost_entry._n._n_nptr,
-                 ".bf") == 0)
+      if (strcmp (S_GET_NAME (def_symbol_in_progress), ".bf") == 0)
        {                       /* .bf */
          if (function_lineoff < 0)
            {