aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-a29k.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1992-12-22 23:40:27 +0000
committerPer Bothner <per@bothner.com>1992-12-22 23:40:27 +0000
commit0e238aa74b140ff264f366c6dc62404170bef0e8 (patch)
tree09e66efb5ceb5f5e46bda2637d376e0774e32f31 /bfd/coff-a29k.c
parentcc9a3bd637082ba8a2ca35513b0995055109f04c (diff)
downloadgdb-0e238aa74b140ff264f366c6dc62404170bef0e8.zip
gdb-0e238aa74b140ff264f366c6dc62404170bef0e8.tar.gz
gdb-0e238aa74b140ff264f366c6dc62404170bef0e8.tar.bz2
* bfd-in.h: New macros bfd_asymbol_bfd and bfd_asymbol_flavour;
perhaps we can later remove the the_bfd field from each symbol. * syms.c (struct symbol_cache_entry): Remove unused field app_data. Add comment noting that the_bfd is almost redundant, but not quite. * aoutx.h, coff-a29k.c, coff-i386.c, coff-i960.c, coffcode.h: Use new macros bfd_asymbol_bfd and bfd_asymbol_flavour. * hppa.c (fill_spaces): Make slightly more rebust. * configure.in: Allow std-host as the "default" host.
Diffstat (limited to 'bfd/coff-a29k.c')
-rw-r--r--bfd/coff-a29k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coff-a29k.c b/bfd/coff-a29k.c
index f10a697..3dd4fac 100644
--- a/bfd/coff-a29k.c
+++ b/bfd/coff-a29k.c
@@ -272,7 +272,7 @@ static void DEFUN(reloc_processing,(relent,reloc, symbols, abfd, section) ,
ptr = *(relent->sym_ptr_ptr);
if (ptr
- && ptr->the_bfd == abfd
+ && bfd_asymbol_bfd(ptr) == abfd
&& ((ptr->flags & BSF_OLD_COMMON)== 0))
{