PR22458, failure to choose a matching ELF target

Alan Modra amodra@gmail.com
Mon Feb 25 23:53:00 GMT 2019
On Mon, Feb 25, 2019 at 10:34:57PM +0530, Mahesh Bodapati wrote:
> removal of (*target)->match_priority > best_match)* is causing *the build
> error for me.

I think something else is causing your LTO errors.  The priorities are
compared later in bfd_check_format_matches:
	      if (match_priority < best_match)
		{
		  best_match = match_priority;
		  best_count = 0;
		}
	      if (match_priority <= best_match)
		{
		  /* This format checks out as ok!  */
		  right_targ = temp;
		  best_count++;
		}

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list