aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2002-06-18 14:09:06 +0000
committerJakub Jelinek <jakub@redhat.com>2002-06-18 14:09:06 +0000
commit7ece0d85fda7871a1fc520016c38694441f14558 (patch)
tree86a48bac637542e69473625c8a8c64cf6fc2f08b /sim
parentcc22880b3edfaa8be9302e9e634e3b91770242c6 (diff)
downloadfsf-binutils-gdb-7ece0d85fda7871a1fc520016c38694441f14558.zip
fsf-binutils-gdb-7ece0d85fda7871a1fc520016c38694441f14558.tar.gz
fsf-binutils-gdb-7ece0d85fda7871a1fc520016c38694441f14558.tar.bz2
binutils/
* readelf.c (get_file_header): Only read the first section header if e_shoff is non-zero. bfd/ * elfcode.h (elf_object_p): Sanity check eh_shoff == 0 implies e_shnum == 0. Only read the first section header if e_shoff is non-zero. Don't consider e_shstrndx if there are no sections.
Diffstat (limited to 'sim')
0 files changed, 0 insertions, 0 deletions