Missing relocation R_PPC_VLE_ADDR20 and add VLE flag to details in readelf
authorAlexander Fedotov-B55613 <b55613@freescale.com>
Mon, 4 Sep 2017 22:52:17 +0000 (08:22 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 4 Sep 2017 23:12:27 +0000 (08:42 +0930)
commit83eef883581525d04df3a8e53a82c01d0d12b56a
tree0b0f139532eacf737ad092c9ea64d26e3fde211e
parent31cf148787509fcf33bc6adb05bbf16bee48835d
Missing relocation R_PPC_VLE_ADDR20 and add VLE flag to details in readelf

include/
* elf/ppc.h (R_PPC_VLE_ADDR20): New relocation.
bfd/
* elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_VLE_ADDR20.
(ppc_elf_check_relocs): Handle it.
(ppc_elf_vle_split20): New function.
(ppc_elf_relocate_section): Handle R_PPC_VLE_ADDR20.
binutils/
* readelf.c (get_elf_section_flags): Add VLE.
(process_section_headers): Add VLE key to details.
gas/
* config/tc-ppc.c (md_parse_option): Handle "mno-vle" flag.
(ppc_elf_section_letter): New function.
* config/tc-ppc.h (md_elf_section_letter): New.
* testsuite/gas/elf/section10.d: Adjust for VLE.
bfd/ChangeLog
bfd/elf32-ppc.c
binutils/ChangeLog
binutils/readelf.c
gas/ChangeLog
gas/config/tc-ppc.c
gas/config/tc-ppc.h
gas/testsuite/gas/elf/section10.d
include/ChangeLog
include/elf/ppc.h