diff options
author | Alan Modra <amodra@gmail.com> | 2017-02-23 12:20:42 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-02-23 12:33:51 +1030 |
commit | 5499c7c71cc403a1deff90b79ab41d17efc5c4cc (patch) | |
tree | 741cd69ec800b5e24bcae98532a6aeb50de13150 /bfd/ChangeLog | |
parent | d8260425e6a8ef78cf47324f6f68d7978ac701ba (diff) | |
download | gdb-5499c7c71cc403a1deff90b79ab41d17efc5c4cc.zip gdb-5499c7c71cc403a1deff90b79ab41d17efc5c4cc.tar.gz gdb-5499c7c71cc403a1deff90b79ab41d17efc5c4cc.tar.bz2 |
Correct VLE 16D and SDAREL relocations
PR 20744
bfd/
* elf32-ppc.c (ppc_elf_howto_raw): Correct dst_mask on all VLE
16D relocations.
(ppc_elf_vle_split16): Correct field mask and shift for 16D relocs.
(ppc_elf_relocate_section): Correct calculation for VLE SDAREL
relocs.
ld/
* testsuite/ld-powerpc/vle-reloc-2.s: Use r6 for last insn of
each group.
* testsuite/ld-powerpc/vle-reloc-2.d: Update for above change
and sdarel reloc fix.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 24b27c8..3a3ca28 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,12 @@ +2017-02-23 Alan Modra <amodra@gmail.com> + + PR 20744 + * elf32-ppc.c (ppc_elf_howto_raw): Correct dst_mask on all VLE + 16D relocations. + (ppc_elf_vle_split16): Correct field mask and shift for 16D relocs. + (ppc_elf_relocate_section): Correct calculation for VLE SDAREL + relocs. + 2017-02-22 Maciej W. Rozycki <macro@imgtec.com> PR ld/20828 |