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 5e98482..a247041 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 27d069f..5b5934b 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