This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: [committed, PATCH] PR ld/18808: aborting at bfd/elf64-x86-64.c:3791 in elf_x86_64_relocate_section


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


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