On Wed, Mar 23, 2011 at 11:29, Jan Kratochvil <jan.kratochvil(a)redhat.com> 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.