From: David Miller <davem@davemloft.net>
To: aconole@bytheb.org
Cc: ast@fb.com, daniel@iogearbox.net, netdev@vger.kernel.org,
xdp-newbies@vger.kernel.org
Subject: Re: [PATCH v2 binutils] Add BPF support to binutils...
Date: Fri, 28 Apr 2017 13:33:57 -0400 (EDT) [thread overview]
Message-ID: <20170428.133357.1350487366358004505.davem@davemloft.net> (raw)
In-Reply-To: <f7tfugssblu.fsf@redhat.com>
From: Aaron Conole <aconole@bytheb.org>
Date: Fri, 28 Apr 2017 13:09:17 -0400
> David Miller <davem@davemloft.net> 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 "bfdlink.h"
>> #include "libbfd.h"
>> +#include "libiberty.h"
>> #include "elf-bfd.h"
>> +#include "elf/bpf.h"
>> #include "opcode/bpf.h"
>> +#include "objalloc.h"
>> +#include "elf64-bpf.h"
>
> I get a compile error here. I guess this file wasn't included.
Sorry about that, here is bfd/elf64-bpf.h:
/* BPF ELF specific backend routines.
Copyright (C) 2017 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
extern reloc_howto_type *_bfd_bpf_elf_reloc_type_lookup
(bfd *, bfd_reloc_code_real_type);
extern reloc_howto_type *_bfd_bpf_elf_reloc_name_lookup
(bfd *, const char *);
prev parent reply other threads:[~2017-04-28 17:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-27 21:09 [PATCH v2 binutils] Add BPF support to binutils David Miller
2017-04-28 15:57 ` Aaron Conole
2017-04-28 16:04 ` David Miller
2017-04-28 17:09 ` Aaron Conole
2017-04-28 17:33 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170428.133357.1350487366358004505.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=aconole@bytheb.org \
--cc=ast@fb.com \
--cc=daniel@iogearbox.net \
--cc=netdev@vger.kernel.org \
--cc=xdp-newbies@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).