On Wed, Mar 23, 2011 at 11:29, Jan Kratochvil <[email protected]> wrote:
> @@ -883,7 +883,8 @@ handle_elf (int fd, Elf *elf, const char *prefix, const 
> char *fname,
>          bool discard_section = (shdr_info[cnt].idx > 0
>                                  && shdr_info[cnt].debug_data == NULL
>                                  && shdr_info[cnt].shdr.sh_type != SHT_NOTE
> -                                 && cnt != ehdr->e_shstrndx);
> +                                 && cnt != ehdr->e_shstrndx
> +                                 && strcmp (shdr_info[cnt].name, ".opd") != 
> 0);

PPC-specific code has no place in the generic strip code.
_______________________________________________
elfutils-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/elfutils-devel

Reply via email to