From: Nick Clifton Date: Mon, 21 Jun 1999 09:11:27 +0000 (+0000) Subject: Use symbol_get_bfdsym() macro X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=155f0fe7a525a76787f8f3bac5a7478a664cd903;p=binutils-gdb.git Use symbol_get_bfdsym() macro --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 5e984825470..a2470410f86 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,7 +1,7 @@ 1999-06-21 Nick Clifton - * 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 diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 27d069fc46f..5b5934bca8e 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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