summaryrefslogtreecommitdiff
path: root/libebl/libebl.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-04-01 02:30:05 +0000
committerRoland McGrath <roland@redhat.com>2008-04-01 02:30:05 +0000
commit13b69609bcd5638e6194d940855fea3dd0519605 (patch)
treeffaa63b3cd050285d68ebc6c437c012edb59ddf9 /libebl/libebl.h
parentd11f9cbecac4a5ac3848a68597028d1924f3ff6b (diff)
downloadelfutils-13b69609bcd5638e6194d940855fea3dd0519605.tar.gz
backends/
* sparc_symbol.c (sparc_symbol_type_name): New function. (sparc_dynamic_tag_name): New function. (sparc_dynamic_tag_check): New function. * sparc_init.c (sparc_init): Initialize those hooks. libebl/ * ebldynamictagname.c (ebl_dynamic_tag_name): Use hex for unknown tag.
Diffstat (limited to 'libebl/libebl.h')
-rw-r--r--libebl/libebl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libebl/libebl.h b/libebl/libebl.h
index 083de03a..118ae7e7 100644
--- a/libebl/libebl.h
+++ b/libebl/libebl.h
@@ -141,6 +141,12 @@ extern bool ebl_machine_flag_check (Ebl *ebl, GElf_Word flags);
/* Check whether SHF_MASKPROC flags are valid. */
extern bool ebl_machine_section_flag_check (Ebl *ebl, GElf_Xword flags);
+/* Check whether the section with the given index, header, and name
+ is a special machine section that is valid despite a combination
+ of flags or other details that are not generically valid. */
+extern bool ebl_check_special_section (Ebl *ebl, int ndx,
+ const GElf_Shdr *shdr, const char *name);
+
/* Return symbol type name. */
extern const char *ebl_symbol_type_name (Ebl *ebl, int symbol,
char *buf, size_t len);