lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170428.133357.1350487366358004505.davem@davemloft.net>
Date:   Fri, 28 Apr 2017 13:33:57 -0400 (EDT)
From:   David Miller <davem@...emloft.net>
To:     aconole@...heb.org
Cc:     ast@...com, daniel@...earbox.net, netdev@...r.kernel.org,
        xdp-newbies@...r.kernel.org
Subject: Re: [PATCH v2 binutils] Add BPF support to binutils...

From: Aaron Conole <aconole@...heb.org>
Date: Fri, 28 Apr 2017 13:09:17 -0400

> David Miller <davem@...emloft.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 *);

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ