summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog4
-rw-r--r--tests/msg_tst.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 44b0bb4a..372ff7eb 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+2006-12-17 Roland McGrath <[email protected]>
+
+ * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
+
2006-09-05 Roland McGrath <[email protected]>
* run-strings-test.sh: Export LC_ALL=C for the test.
diff --git a/tests/msg_tst.c b/tests/msg_tst.c
index a432b6c4..36debbe4 100644
--- a/tests/msg_tst.c
+++ b/tests/msg_tst.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2005 Red Hat, Inc.
+/* Copyright (C) 2002, 2005, 2006 Red Hat, Inc.
This file is part of Red Hat elfutils.
Written by Ulrich Drepper <[email protected]>, 2002.
@@ -79,7 +79,7 @@ static struct
{ ELF_E_GROUP_NOT_REL,
"only relocatable files can contain section groups" },
{ ELF_E_INVALID_PHDR,
- "program header only allowed in executables and shared objects" },
+ "program header not allowed in relocatable files" },
{ ELF_E_NO_PHDR, "file has no program header" },
{ ELF_E_INVALID_OFFSET, "invalid offset" }
};