From 059c83e5db89955913a39fe6705acca571c32c3f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 21 Feb 2008 06:19:39 +0000 Subject: Finish elflint .gnu.attributes checking --- libebl/ebl-hooks.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libebl/ebl-hooks.h') diff --git a/libebl/ebl-hooks.h b/libebl/ebl-hooks.h index c0c929bd..c236b35e 100644 --- a/libebl/ebl-hooks.h +++ b/libebl/ebl-hooks.h @@ -115,6 +115,10 @@ int EBLHOOK(core_note) (GElf_Word, GElf_Word, GElf_Word *, size_t *, /* Handle object file note. */ bool EBLHOOK(object_note) (const char *, uint32_t, uint32_t, const char *); +/* Check object attribute. */ +bool EBLHOOK(check_object_attribute) (Ebl *, const char *, int, uint64_t, + const char **, const char **); + /* Describe auxv element type. */ int EBLHOOK(auxv_info) (GElf_Xword, const char **, const char **); @@ -148,7 +152,7 @@ ssize_t EBLHOOK(register_info) (Ebl *ebl, const char **prefix, const char **setname, int *bits, int *type); - /* Disassembler function. */ +/* Disassembler function. */ int EBLHOOK(disasm) (const uint8_t **startp, const uint8_t *end, GElf_Addr addr, const char *fmt, DisasmOutputCB_t outcb, DisasmGetSymCB_t symcb, void *outcbarg, void *symcbarg); -- cgit v1.2.3