diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-12-18 22:38:08 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-12-18 22:38:08 +0000 |
commit | 56bc0b83ea81b7e959aaa4e1d01f8b36f2804a52 (patch) | |
tree | bc88f45df09a0819c43122d8101500c51874c1c2 /tests | |
parent | 8190db6a86a37aec86c81626ab1b083c96aff891 (diff) | |
download | android_external_elfutils-56bc0b83ea81b7e959aaa4e1d01f8b36f2804a52.tar.gz android_external_elfutils-56bc0b83ea81b7e959aaa4e1d01f8b36f2804a52.tar.bz2 android_external_elfutils-56bc0b83ea81b7e959aaa4e1d01f8b36f2804a52.zip |
Lock down libelf and elflint a bit more after import of Roland's changes.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 1 | ||||
-rw-r--r-- | tests/msg_tst.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index ab17761a..bc46c42e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -34,6 +34,7 @@ AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 \ $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2) BUILT_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf endif +CFLAGS := $(filter-out -Wall,$(CFLAGS)) AM_LDFLAGS = diff --git a/tests/msg_tst.c b/tests/msg_tst.c index 36debbe4..db078533 100644 --- a/tests/msg_tst.c +++ b/tests/msg_tst.c @@ -79,7 +79,8 @@ static struct { ELF_E_GROUP_NOT_REL, "only relocatable files can contain section groups" }, { ELF_E_INVALID_PHDR, - "program header not allowed in relocatable files" }, + "program header only allowed in executables, shared objects, \ +and core files" }, { ELF_E_NO_PHDR, "file has no program header" }, { ELF_E_INVALID_OFFSET, "invalid offset" } }; |