diff options
| author | Mark Wielaard <[email protected]> | 2014-05-19 16:52:56 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2014-05-19 22:04:24 +0200 |
| commit | 028d0ab0cc1cb5f96ee48feef966b7d8d56c6a8e (patch) | |
| tree | a8217d678cede635782d0fe33413a3dc3ae206af /libebl/ebl-hooks.h | |
| parent | 85482fc073442a056e0e3663eb454fa76d883271 (diff) | |
backends: Add ebl_check_reloc_target_type.
And implement for arm and ia64. Both have special section types that
are valid targets for a reloc. Both refer to unwind data. elflint now
just calls ebl_check_reloc_target_type instead of hard coding the
expected section types.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libebl/ebl-hooks.h')
| -rw-r--r-- | libebl/ebl-hooks.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libebl/ebl-hooks.h b/libebl/ebl-hooks.h index bfb7f4a9..65c62ec6 100644 --- a/libebl/ebl-hooks.h +++ b/libebl/ebl-hooks.h @@ -1,5 +1,5 @@ /* Backend hook signatures internal interface for libebl. - Copyright (C) 2000-2011, 2013 Red Hat, Inc. + Copyright (C) 2000-2011, 2013, 2014 Red Hat, Inc. This file is part of elfutils. This file is free software; you can redistribute it and/or modify @@ -105,6 +105,9 @@ bool EBLHOOK(object_note) (const char *, uint32_t, uint32_t, const char *); bool EBLHOOK(check_object_attribute) (Ebl *, const char *, int, uint64_t, const char **, const char **); +/* Check reloc target section type. */ +bool EBLHOOK(check_reloc_target_type) (Ebl *, Elf64_Word); + /* Describe auxv element type. */ int EBLHOOK(auxv_info) (GElf_Xword, const char **, const char **); |
