From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114654 invoked by alias); 24 Jul 2017 10:16:14 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 114634 invoked by uid 89); 24 Jul 2017 10:16:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*M:stream, H*Ad:U*rth, H*r:sk:ADH-AES X-Spam-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: gnu.wildebeest.org Received: from wildebeest.demon.nl (HELO gnu.wildebeest.org) (212.238.236.112) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 24 Jul 2017 10:16:11 +0000 Received: from stream.wildebeest.org (ip4da134f7.direct-adsl.nl [77.161.52.247]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id C7B8F302748B; Mon, 24 Jul 2017 12:16:09 +0200 (CEST) Received: by stream.wildebeest.org (Postfix, from userid 1000) id 5345F105BB2; Mon, 24 Jul 2017 12:16:23 +0200 (CEST) Date: Mon, 24 Jul 2017 10:16:00 -0000 From: Mark Wielaard To: elfutils-devel@sourceware.org Cc: Richard Henderson Subject: Re: [PATCH] backends: Don't depend on linux/bpf.h to compile bpf disassembler. Message-ID: <20170724101622.GC8002@stream> References: <1500380398-4169-1-git-send-email-mark@klomp.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1500380398-4169-1-git-send-email-mark@klomp.org> User-Agent: Mutt/1.8.3 (2017-05-23) X-IsSubscribed: yes X-SW-Source: 2017-q3/txt/msg00038.txt.bz2 On Tue, Jul 18, 2017 at 02:19:58PM +0200, Mark Wielaard wrote: > We only need a few constants and one structure definition from linux/bpf. > Just define those in a local lib/bpf.h file. This makes sure the bpf > disassembler is always build and included even when elfutils is build > on older GNU/Linux systems (and even on other platforms). I pushed this to master.