diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-06-03 12:51:21 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-06-03 12:51:21 +0000 |
commit | 080e41e66bf6ac00e46d138f23864f12246efc16 (patch) | |
tree | 463992404c66e9cef899510637812e333b3dee40 /gas/cgen.c | |
parent | 6a9d5c9a1253088388f20b8dbc7d7fc2455e871b (diff) | |
download | fsf-binutils-gdb-080e41e66bf6ac00e46d138f23864f12246efc16.zip fsf-binutils-gdb-080e41e66bf6ac00e46d138f23864f12246efc16.tar.gz fsf-binutils-gdb-080e41e66bf6ac00e46d138f23864f12246efc16.tar.bz2 |
* cgen.c: Update for symbol handling changes.
Diffstat (limited to 'gas/cgen.c')
-rw-r--r-- | gas/cgen.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |