This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]