summaryrefslogtreecommitdiffstats
path: root/libelf/libelfP.h
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2017-10-04 16:51:15 +0200
committerMark Wielaard <[email protected]>2017-10-13 16:22:06 +0200
commitfef9e11b308465ee83e9559e5e545b9b13da2df2 (patch)
treefef05caa16ece9258edb99e85b895e33f3df9696 /libelf/libelfP.h
parent734118467b1a28f9b1765a769e1269ec56bb78cf (diff)
libelf: Add ELF_E_INVALID_ELF error value.
Add ELF_E_INVALID_ELF which is set when the ELF file data is bad. This is different from ELF_E_INVALID_FILE which is set when the file could not be read. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libelf/libelfP.h')
-rw-r--r--libelf/libelfP.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libelf/libelfP.h b/libelf/libelfP.h
index a4a0a3a9..ca805ac4 100644
--- a/libelf/libelfP.h
+++ b/libelf/libelfP.h
@@ -102,6 +102,7 @@ enum
ELF_E_INVALID_ENCODING,
ELF_E_NOMEM,
ELF_E_INVALID_FILE,
+ ELF_E_INVALID_ELF,
ELF_E_INVALID_OP,
ELF_E_NO_VERSION,
ELF_E_INVALID_CMD,