Add support for storing local symbols in a small structure to save
[deliverable/binutils-gdb.git] / gas / config / tc-i960.c
index a4e8497fc2decf75f4ab652bf0577ff4bc9edd64..60ae033091ddc79dc191408b9aff3c24f7dacc8e 100644 (file)
@@ -3353,7 +3353,8 @@ 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);
   reloc->address = fixP->fx_frag->fr_address + fixP->fx_where;
   reloc->addend = fixP->fx_addnumber;
 
This page took 0.032857 seconds and 4 git commands to generate.