diff options
author | Alan Modra <amodra@gmail.com> | 2016-11-22 16:27:12 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-11-22 20:19:29 +1030 |
commit | 95f0d0d2338f8eba18d2b3c8cbe15b1d584b885c (patch) | |
tree | f6139273fba00a776b3aa30ffd5f3aa5badccc27 /gas/testsuite | |
parent | c5acd8159633cfde315b01431099e1ce5b23dcf7 (diff) | |
download | gdb-95f0d0d2338f8eba18d2b3c8cbe15b1d584b885c.zip gdb-95f0d0d2338f8eba18d2b3c8cbe15b1d584b885c.tar.gz gdb-95f0d0d2338f8eba18d2b3c8cbe15b1d584b885c.tar.bz2 |
Use input_bfd in relocate_section
It makes just a little more sense to use input_bfd when retrieving
insns for relocation, since the relocations match the endianness of
the input bfd.
* elf32-ppc.c (ppc64_elf_relocate_section): Calculate d_offset for
input_bfd. Replace occurrences of output_bfd as bfd_get_32 and
bfd_put_32 param with input_bfd.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise. Also
ppc_elf_vle_split16 param.
(ppc_elf_vle_split16): Rename output_bfd param to input_bfd.
Diffstat (limited to 'gas/testsuite')
0 files changed, 0 insertions, 0 deletions