diff options
Diffstat (limited to 'bfd/mach-o-i386.c')
-rw-r--r-- | bfd/mach-o-i386.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/mach-o-i386.c b/bfd/mach-o-i386.c index 95dc48c..8349c66 100644 --- a/bfd/mach-o-i386.c +++ b/bfd/mach-o-i386.c @@ -210,7 +210,8 @@ bfd_mach_o_i386_swap_reloc_out (arelent *rel, bfd_mach_o_reloc_info *rinfo) if ((*rel->sym_ptr_ptr)->flags & BSF_SECTION_SYM) { rinfo->r_extern = 0; - rinfo->r_value = (*rel->sym_ptr_ptr)->section->target_index; + rinfo->r_value = + (*rel->sym_ptr_ptr)->section->output_section->target_index; } else { |