summaryrefslogtreecommitdiffstats
path: root/src/elflint.c
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2006-12-18 22:38:08 +0000
committerUlrich Drepper <[email protected]>2006-12-18 22:38:08 +0000
commit56bc0b83ea81b7e959aaa4e1d01f8b36f2804a52 (patch)
treebc88f45df09a0819c43122d8101500c51874c1c2 /src/elflint.c
parent8190db6a86a37aec86c81626ab1b083c96aff891 (diff)
Lock down libelf and elflint a bit more after import of Roland's changes.
Diffstat (limited to 'src/elflint.c')
-rw-r--r--src/elflint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elflint.c b/src/elflint.c
index 06930ca8..7a50a21b 100644
--- a/src/elflint.c
+++ b/src/elflint.c
@@ -3830,7 +3830,7 @@ program header offset in ELF header and PHDR entry do not match"));
}
if (phdr->p_filesz > phdr->p_memsz
- && (phdr->p_memsz != 0 || phdr->p_type == PT_LOAD))
+ && (phdr->p_memsz != 0 || phdr->p_type != PT_NOTE))
ERROR (gettext ("\
program header entry %d: file size greater than memory size\n"),
cnt);