This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [committed, PATCH] PR ld/18808: aborting at bfd/elf64-x86-64.c:3791 in elf_x86_64_relocate_section
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 12 Aug 2015 10:28:33 +0930
- Subject: Re: [committed, PATCH] PR ld/18808: aborting at bfd/elf64-x86-64.c:3791 in elf_x86_64_relocate_section
- Authentication-results: sourceware.org; auth=none
- References: <20150811200042 dot GA23505 at intel dot com>
On Tue, Aug 11, 2015 at 01:00:42PM -0700, H.J. Lu wrote:
> + if ((input_section->flags & SEC_ALLOC) == 0)
> + {
> + /* Dynamic relocs are not propagated for SEC_DEBUGGING
> + sections because such sections are not SEC_ALLOC and
> + thus ld.so will not process them. */
> + if ((input_section->flags & SEC_DEBUGGING) != 0)
> + break;
Shouldn't this be "continue"?
> + abort ();
> + }
> + else if (h->plt.offset == (bfd_vma) -1)
> abort ();
>
> /* STT_GNU_IFUNC symbol must go through PLT. */
--
Alan Modra
Australia Development Lab, IBM