projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mach-o: output output_section target_index to write relocs.
[deliverable/binutils-gdb.git]
/
bfd
/
mach-o-x86-64.c
diff --git
a/bfd/mach-o-x86-64.c
b/bfd/mach-o-x86-64.c
index 53ff8429a1f33f836c1857046244d6316a36dc54..221c030ac5cde2a83584f0ba1b678717d1a7ca21 100644
(file)
--- a/
bfd/mach-o-x86-64.c
+++ b/
bfd/mach-o-x86-64.c
@@
-284,7
+284,8
@@
bfd_mach_o_x86_64_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
{
This page took
0.023052 seconds
and
4
git commands to generate.