summaryrefslogtreecommitdiffstats
path: root/libelf/elf_error.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-12-18 22:38:08 +0000
committerUlrich Drepper <drepper@redhat.com>2006-12-18 22:38:08 +0000
commit56bc0b83ea81b7e959aaa4e1d01f8b36f2804a52 (patch)
treebc88f45df09a0819c43122d8101500c51874c1c2 /libelf/elf_error.c
parent8190db6a86a37aec86c81626ab1b083c96aff891 (diff)
Lock down libelf and elflint a bit more after import of Roland's changes.
Diffstat (limited to 'libelf/elf_error.c')
-rw-r--r--libelf/elf_error.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libelf/elf_error.c b/libelf/elf_error.c
index 3161b8b8..5e00372a 100644
--- a/libelf/elf_error.c
+++ b/libelf/elf_error.c
@@ -270,11 +270,13 @@ static const char msgstr[] =
#define ELF_E_INVALID_PHDR_IDX \
(ELF_E_GROUP_NOT_REL_IDX \
+ sizeof "only relocatable files can contain section groups")
- N_("program header not allowed in relocatable files")
+ N_("program header only allowed in executables, shared objects, and \
+core files")
"\0"
#define ELF_E_NO_PHDR_IDX \
(ELF_E_INVALID_PHDR_IDX \
- + sizeof "program header not allowed in relocatable files")
+ + sizeof "program header only allowed in executables, shared objects, and \
+core files")
N_("file has no program header")
"\0"
#define ELF_E_INVALID_OFFSET_IDX \