Index: elf32-ppc.c =================================================================== --- elf32-ppc.c (revision 326234) +++ elf32-ppc.c (working copy) @@ -2320,6 +2320,50 @@ ppc_elf_write_core_note (bfd *abfd, char } } +static void +ppc_elf_lookup_section_flags (struct flag_info *finfo) +{ + struct flag_info_list *tf = finfo->flag_list; + int with_hex = 0; + int without_hex = 0; + bfd_boolean valid_flag_found = FALSE; + + while (tf) + { + if (!strcmp (tf->name, "SHF_PPC_VLE")) + { + if (tf->with == with_flags) + with_hex |= SHF_PPC_VLE; + else if (tf->with == without_flags) + without_hex |= SHF_PPC_VLE; + valid_flag_found = TRUE; + } + tf = tf->next; + } + finfo->done = TRUE; + finfo->only_with_flags = with_hex; + finfo->not_with_flags = without_hex; +} +