Use symbol_get_bfdsym() macro
authorNick Clifton <nickc@redhat.com>
Mon, 21 Jun 1999 09:11:27 +0000 (09:11 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 21 Jun 1999 09:11:27 +0000 (09:11 +0000)
gas/ChangeLog
gas/config/tc-arm.c

index 5e984825470a75d3510e56c3a0393d434335543f..a2470410f8617e206c291976f22d070abd275f9f 100644 (file)
@@ -1,7 +1,7 @@
 1999-06-21  Nick Clifton  <nickc@cygnus.com>
 
-       * config/tc-arm.c: Include struc-symbol.h so that symbol structure
-       definition is available.
+       * config/tc-arm.c (arm_adjust_symtab): Use symbol_get_bfdsym()
+       macro to get at the BFD symbol associated with a GAS symbol.
 
 1999-06-19  Ian Lance Taylor  <ian@zembu.com>
 
index 27d069fc46f894bea7a14f0b146b904b83523aa1..5b5934bca8e21cba3cb508c9cd47d3e24654f7f6 100644 (file)
@@ -31,7 +31,6 @@
 #include "obstack.h"
 #include "symbols.h"
 #include "listing.h"
-#include "struc-symbol.h"
 
 #ifdef OBJ_ELF
 #include "elf/arm.h"
@@ -6738,7 +6737,7 @@ arm_adjust_symtab ()
         }
 
       if (ARM_IS_INTERWORK (sym))
-       coffsymbol (sym->bsym)->native->u.syment.n_flags = 0xFF;
+       coffsymbol (symbol_get_bfdsym (sym))->native->u.syment.n_flags = 0xFF;
     }
 #endif
 #ifdef OBJ_ELF