[2/3, ppc64, elfutils patch] eu-strip vs. func addresses for GDB inferior calls

Ulrich Drepper drepper@gmail.com
Wed Mar 23 22:14:00 GMT 2011


On Wed, Mar 23, 2011 at 11:29, Jan Kratochvil <jan.kratochvil@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.


More information about the Binutils mailing list