* cgen.c: Update for symbol handling changes.

This commit is contained in:
Ian Lance Taylor
1999-06-03 12:51:21 +00:00
parent 6a9d5c9a12
commit 080e41e66b
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
1999-06-03 Ian Lance Taylor <ian@zembu.com>
* config/tc-m32r.c: Update for symbol handling changes.
* cgen.c: Update for symbol handling changes.
* config/tc-m32r.c: Likewise.
* config/tc-hppa.h: Update for symbol handling changes.
* config/tc-hppa.c: Likewise.

View File

@ -649,7 +649,8 @@ gas_cgen_tc_gen_reloc (section, fixP)
assert (!fixP->fx_pcrel == !reloc->howto->pc_relative);
reloc->sym_ptr_ptr = & fixP->fx_addsy->bsym;
reloc->sym_ptr_ptr = (asymbol **) xmalloc (sizeof (asymbol *));
*reloc->sym_ptr_ptr = symbol_get_bfdsym (fixP->fx_addsy);
/* Use fx_offset for these cases */
if ( fixP->fx_r_type == BFD_RELOC_VTABLE_ENTRY