Use symbol_get_obj() rather than accessing symbolP directly.
authorNick Clifton <nickc@redhat.com>
Wed, 7 Jul 1999 09:34:14 +0000 (09:34 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 7 Jul 1999 09:34:14 +0000 (09:34 +0000)
gas/ChangeLog
gas/config/tc-v850.c

index 090ba17f574c73e2c7a45b7b32346e706a1f14b5..97e3785402422f8fa4c682b02fc01bb84c723dc3 100644 (file)
@@ -1,3 +1,8 @@
+1999-07-07  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-v850.c (v850_comm): Use symbol_get_obj() ratehr than
+       accessing symbolP directly.
+
 Tue Jul  6 10:41:42 1999  Jeffrey A Law  (law@cygnus.com)
 
        * config/tc-hppa.h (tc_frob_symbol): Always punt "$global$" symbol
index 7d4a91f122704415c1d1ac0424be36bb787a88de..c8d308c7faf3383d4670ec9050513b0d09402f67 100644 (file)
@@ -323,7 +323,7 @@ v850_comm (area)
            }
        }
       
-      if (symbolP->local)
+      if (symbol_get_obj (symbolP)->local)
        {
          segT   old_sec;
          int    old_subsec;
@@ -435,7 +435,7 @@ v850_comm (area)
              break;
 
            default:
-             abort();
+             abort ();
            }
          
          symbol_set_frag (symbolP, frag_now);