[PATCH 0/9] eBPF support for GNU binutils
Nick Clifton
nickc@redhat.com
Thu May 23 12:57:00 GMT 2019
Hi Jose,
> The target is intended to be configured with target=bpf (or
> target=bpf-none-none) and in that case `is_elf_format' returns 0.
>
> You must have configured with target=bpf-whatever-elf or
> bpf-whatever-linux or similar. Hence all these tests get executed, and
> fail.
Right - that is exactly what happened.
> I could add checks to all the .exp files of the involved tests to skip
> if istarget bpf-*-*, if you think that is better. But I think it is
> more reasonable to have is_elf_format return 0 for now, as other "funny"
> targets do.
I think either have is_elf_format return zero, or - better in my opinon -
just have config.bfd reject bpf-*-elf and bpf-*-linux-gnu with a "not yet
fully supported" message.
Cheers
Nick
More information about the Binutils
mailing list