Use symbol_get_bfdsym() macro

This commit is contained in:
Nick Clifton 1999-06-21 09:11:27 +00:00
parent 776b24b437
commit 155f0fe7a5
2 changed files with 3 additions and 4 deletions

View file

@ -1,7 +1,7 @@
1999-06-21 Nick Clifton <nickc@cygnus.com> 1999-06-21 Nick Clifton <nickc@cygnus.com>
* config/tc-arm.c: Include struc-symbol.h so that symbol structure * config/tc-arm.c (arm_adjust_symtab): Use symbol_get_bfdsym()
definition is available. macro to get at the BFD symbol associated with a GAS symbol.
1999-06-19 Ian Lance Taylor <ian@zembu.com> 1999-06-19 Ian Lance Taylor <ian@zembu.com>

View file

@ -31,7 +31,6 @@
#include "obstack.h" #include "obstack.h"
#include "symbols.h" #include "symbols.h"
#include "listing.h" #include "listing.h"
#include "struc-symbol.h"
#ifdef OBJ_ELF #ifdef OBJ_ELF
#include "elf/arm.h" #include "elf/arm.h"
@ -6738,7 +6737,7 @@ arm_adjust_symtab ()
} }
if (ARM_IS_INTERWORK (sym)) 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 #endif
#ifdef OBJ_ELF #ifdef OBJ_ELF