Re: [PATCH v2 binutils] Add BPF support to binutils...

2017-04-28 Thread David Miller
From: Aaron Conole Date: Fri, 28 Apr 2017 13:09:17 -0400 > David Miller writes: > >> diff --git a/bfd/elf64-bpf.c b/bfd/elf64-bpf.c >> index 9944bb4..1be285d 100644 >> --- a/bfd/elf64-bpf.c >> +++ b/bfd/elf64-bpf.c >> @@ -1,8 +1,89 @@ >> #include "sysdep.h" >> #include "bfd.h" >> +#include "b

Re: [PATCH v2 binutils] Add BPF support to binutils...

2017-04-28 Thread Aaron Conole
David Miller writes: > From: Aaron Conole > Date: Fri, 28 Apr 2017 11:57:36 -0400 > >> I'll get an arm board up and running to do some testing there. As a >> teaser: > > Great. > > I started working on some more relocation stuff, so more of the > generic gas tests pass. > > For example, stuff l

Re: [PATCH v2 binutils] Add BPF support to binutils...

2017-04-28 Thread David Miller
From: Aaron Conole Date: Fri, 28 Apr 2017 11:57:36 -0400 > I'll get an arm board up and running to do some testing there. As a > teaser: Great. I started working on some more relocation stuff, so more of the generic gas tests pass. For example, stuff like this now works properly: [davem@dhcp

Re: [PATCH v2 binutils] Add BPF support to binutils...

2017-04-28 Thread Aaron Conole
Hi David, David Miller writes: > Here is what I have after today's work. I think I sorted out the > endianness issues. > > gas can be controlled explicitly using "-EB" and "-EL" options. The > default is whatever endianness the host has. The elf names for the > two variants are "elf64-bpfbe"

[PATCH v2 binutils] Add BPF support to binutils...

2017-04-27 Thread David Miller
Here is what I have after today's work. I think I sorted out the endianness issues. gas can be controlled explicitly using "-EB" and "-EL" options. The default is whatever endianness the host has. The elf names for the two variants are "elf64-bpfbe" and "elf64-bpfle". I fleshed out all the re