libasm.h: Don't include libebl.h. Define an opaque Ebl handle.

Using libasm isn't really usable without a way to create an Ebl handle.
But we don't support libebl.h (and libebl itself). Just define the
Ebl handle as an opaque struct. Code that uses it needs to figure out
how to instantiate one itself (they cannot in any supportable way...)

Signed-off-by: Mark Wielaard <mark@klomp.org>
This commit is contained in:
Mark Wielaard
2020-01-08 15:04:50 +01:00
parent 1d26e8e107
commit 287a18452a
13 changed files with 20 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
2020-01-08 Mark Wielaard <mark@klomp.org>
* libasm.h: Don't include libebl.h. Define an opaque Ebl handle.
* libasmP.h: Do include libebl.h.
2019-08-28 Mark Wielaard <mark@klomp.org>
* Makefile.am (libasm_so_DEPS): Replace libebl.a with libebl_pic.a.
+1 -1
View File
@@ -32,7 +32,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <libebl.h>
typedef struct ebl Ebl;
/* Opaque type for the assembler context descriptor. */
+1
View File
@@ -31,6 +31,7 @@
#include <stdio.h>
#include "libebl.h"
#include <libasm.h>
#include "libdwelf.h"
+4
View File
@@ -1,3 +1,7 @@
2020-01-08 Mark Wielaard <mark@klomp.org>
* asm-test?.c: include libebl.h.
2020-01-11 Frank Ch. Eigler <fche@redhat.com>
* run-debuginfod-find.sh: Test --fdcache* options.
+1
View File
@@ -20,6 +20,7 @@
#endif
#include <fcntl.h>
#include ELFUTILS_HEADER(ebl)
#include ELFUTILS_HEADER(asm)
#include <libelf.h>
#include <stdio.h>
+1
View File
@@ -20,6 +20,7 @@
#endif
#include <fcntl.h>
#include ELFUTILS_HEADER(ebl)
#include ELFUTILS_HEADER(asm)
#include <libelf.h>
#include <stdio.h>
+1
View File
@@ -20,6 +20,7 @@
#endif
#include <fcntl.h>
#include ELFUTILS_HEADER(ebl)
#include ELFUTILS_HEADER(asm)
#include <libelf.h>
#include <stdio.h>
+1
View File
@@ -20,6 +20,7 @@
#endif
#include <fcntl.h>
#include ELFUTILS_HEADER(ebl)
#include ELFUTILS_HEADER(asm)
#include <libelf.h>
#include <stdio.h>
+1
View File
@@ -20,6 +20,7 @@
#endif
#include <fcntl.h>
#include ELFUTILS_HEADER(ebl)
#include ELFUTILS_HEADER(asm)
#include <libelf.h>
#include <stdio.h>
+1
View File
@@ -19,6 +19,7 @@
# include <config.h>
#endif
#include ELFUTILS_HEADER(ebl)
#include ELFUTILS_HEADER(asm)
#include <libelf.h>
#include <stdio.h>
+1
View File
@@ -21,6 +21,7 @@
#include <fcntl.h>
#include <inttypes.h>
#include ELFUTILS_HEADER(ebl)
#include ELFUTILS_HEADER(asm)
#include <libelf.h>
#include <stdio.h>
+1
View File
@@ -21,6 +21,7 @@
#include <fcntl.h>
#include <inttypes.h>
#include ELFUTILS_HEADER(ebl)
#include ELFUTILS_HEADER(asm)
#include <libelf.h>
#include <stdio.h>
+1
View File
@@ -21,6 +21,7 @@
#include <fcntl.h>
#include <inttypes.h>
#include ELFUTILS_HEADER(ebl)
#include ELFUTILS_HEADER(asm)
#include <libelf.h>
#include <stdio.h>