mach-o: output output_section target_index to write relocs.
authorTristan Gingold <tristan.gingold@adacore.com>
Fri, 4 Apr 2014 10:37:50 +0000 (12:37 +0200)
committerTristan Gingold <tristan.gingold@adacore.com>
Fri, 4 Apr 2014 12:22:18 +0000 (14:22 +0200)
commit47c509326557dcef05608226b8d6428476289886
tree892bc471f57d346669a0713757d6d85fcf8ea271
parent4ef27e045fbd5b9ec41685ea3843f65fc15827af
mach-o: output output_section target_index to write relocs.

bfd/
* mach-o-i386.c (bfd_mach_o_i386_swap_reloc_out): Use target index
of output_section.
* mach-o-x86-64.c (bfd_mach_o_x86_64_swap_reloc_out): Ditto.
bfd/ChangeLog
bfd/mach-o-i386.c
bfd/mach-o-x86-64.c