diff options
| author | Richard Henderson <[email protected]> | 2016-06-21 15:10:10 -0700 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2016-06-28 20:09:11 +0200 |
| commit | 9a36c9226c4a237208a7735f0e6a6fd1eefb60ab (patch) | |
| tree | 22f86eafeea028d09ff8f13ab4b5c3258f3b848f /libasm | |
| parent | 4c746f2501f6062230e2fa609bf4e8499b33caa4 (diff) | |
Add support for BPF
Signed-off-by: Richard Henderson <[email protected]>
Diffstat (limited to 'libasm')
| -rw-r--r-- | libasm/ChangeLog | 4 | ||||
| -rw-r--r-- | libasm/disasm_cb.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libasm/ChangeLog b/libasm/ChangeLog index a8ac2c7c..afc7e8ec 100644 --- a/libasm/ChangeLog +++ b/libasm/ChangeLog @@ -1,3 +1,7 @@ +2016-06-28 Richard Henderson <[email protected]> + + * disasm_cb.c (disasm_cb): Pass ebl to disasm hook. + 2016-02-12 Mark Wielaard <[email protected]> * asm_begin.c (prepare_text_output): Only call __fsetlocking when diff --git a/libasm/disasm_cb.c b/libasm/disasm_cb.c index eb3689c7..cf278c71 100644 --- a/libasm/disasm_cb.c +++ b/libasm/disasm_cb.c @@ -173,7 +173,7 @@ disasm_cb (DisasmCtx_t *ctx, const uint8_t **startp, const uint8_t *end, getsym = default_elf_getsym; } - return ctx->ebl->disasm (startp, end, addr, fmt, outcb, getsym, outcbarg, - symcbarg); + return ctx->ebl->disasm (ctx->ebl, startp, end, addr, fmt, outcb, + getsym, outcbarg, symcbarg); } INTDEF (disasm_cb) |
