summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2005-08-03 00:02:56 +0000
committerUlrich Drepper <[email protected]>2005-08-03 00:02:56 +0000
commit41de488a0ad6679e816dbab960351e5f62ab8ead (patch)
treed4387847c11e48ccc8fa55ace24bcd2a595d0d84 /tests
parentc911c9efe553d9af2d4fb0d420d8b614983e16ac (diff)
Add several more elflint tests:
- check whether dynamic section matches PT_DYNAMIC program header entry - make sure text relocation flag is used correctly libelf needed one extension for this.
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog4
-rw-r--r--tests/msg_tst.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 39c3cee4..22aee322 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+2005-08-02 Ulrich Drepper <[email protected]>
+
+ * msg_tst.c: Add new error message.
+
2005-07-28 Ulrich Drepper <[email protected]>
* Makefile.am (dwflmodtest_LDADD): Add $(libebl).
diff --git a/tests/msg_tst.c b/tests/msg_tst.c
index 67e63c0e..a3a93d05 100644
--- a/tests/msg_tst.c
+++ b/tests/msg_tst.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Red Hat, Inc.
+/* Copyright (C) 2002, 2005 Red Hat, Inc.
Written by Ulrich Drepper <[email protected]>, 2002.
This program is Open Source software; you can redistribute it and/or
@@ -68,8 +68,8 @@ static struct
"only relocatable files can contain section groups" },
{ ELF_E_INVALID_PHDR,
"program header only allowed in executables and shared objects" },
- { ELF_E_NO_PHDR,
- "file has no program header" }
+ { ELF_E_NO_PHDR, "file has no program header" },
+ { ELF_E_INVALID_OFFSET, "invalid offset" }
};