aboutsummaryrefslogtreecommitdiff
path: root/include/elf/ppc.h
diff options
context:
space:
mode:
authorAlexander Fedotov-B55613 <b55613@freescale.com>2017-09-05 08:22:17 +0930
committerAlan Modra <amodra@gmail.com>2017-09-05 08:42:27 +0930
commit83eef883581525d04df3a8e53a82c01d0d12b56a (patch)
tree0b0f139532eacf737ad092c9ea64d26e3fde211e /include/elf/ppc.h
parent31cf148787509fcf33bc6adb05bbf16bee48835d (diff)
downloadgdb-83eef883581525d04df3a8e53a82c01d0d12b56a.zip
gdb-83eef883581525d04df3a8e53a82c01d0d12b56a.tar.gz
gdb-83eef883581525d04df3a8e53a82c01d0d12b56a.tar.bz2
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.
Diffstat (limited to 'include/elf/ppc.h')
-rw-r--r--include/elf/ppc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/elf/ppc.h b/include/elf/ppc.h
index 6790cd7..a7d2f3e 100644
--- a/include/elf/ppc.h
+++ b/include/elf/ppc.h
@@ -152,6 +152,7 @@ START_RELOC_NUMBERS (elf_ppc_reloc_type)
RELOC_NUMBER (R_PPC_VLE_SDAREL_HI16D, 230)
RELOC_NUMBER (R_PPC_VLE_SDAREL_HA16A, 231)
RELOC_NUMBER (R_PPC_VLE_SDAREL_HA16D, 232)
+ RELOC_NUMBER (R_PPC_VLE_ADDR20, 233)
/* Power9 split rel16 for addpcis. */
RELOC_NUMBER (R_PPC_REL16DX_HA, 246)