Regressions with "bfd_arch_get_compatible"

H.J. Lu hjl.tools@gmail.com
Sat Jun 4 18:18:00 GMT 2011


On Sat, Jun 4, 2011 at 5:16 AM, Hans-Peter Nilsson
<hans-peter.nilsson@axis.com> wrote:
>> Date: Sat, 4 Jun 2011 13:33:58 +0930
>> From: Alan Modra <amodra@gmail.com>
>
>>       * archures.c (bfd_arch_get_compatible): If one arch is unknown,
>>       return the other arch.
>>       * elfcode.h (elf_object_p): Allow explicit match to generic ELF
>>       target.
>
> Looks like the target lost leverage in bfd_arch_get_compatible.
>
> Regressions for cris-elf:
>

elf_object_p change also breaks Linux/x86-64. I checked in a patch
to revert it.  Please check if it fixes cris-elf.

Thanks.

-- 
H.J.



More information about the Binutils mailing list