diff options
author | Alan Modra <amodra@gmail.com> | 2009-10-23 00:15:07 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-10-23 00:15:07 +0000 |
commit | bb8a0291affe114880874c0e192b471c87663b27 (patch) | |
tree | 69195ffdf56bfee294b4b4df86f3c82f2b0fd5d6 /binutils/readelf.c | |
parent | 65f52a20ac02225190ad3193bd97a6154bcdba64 (diff) | |
download | gdb-bb8a0291affe114880874c0e192b471c87663b27.zip gdb-bb8a0291affe114880874c0e192b471c87663b27.tar.gz gdb-bb8a0291affe114880874c0e192b471c87663b27.tar.bz2 |
* readelf.c (dynamic_info): Correct size of array.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 8d05d70..d0c8b38 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -165,7 +165,7 @@ static Elf_Internal_Syminfo * dynamic_syminfo; static unsigned long dynamic_syminfo_offset; static unsigned int dynamic_syminfo_nent; static char program_interpreter[PATH_MAX]; -static bfd_vma dynamic_info[DT_JMPREL + 1]; +static bfd_vma dynamic_info[DT_ENCODING]; static bfd_vma dynamic_info_DT_GNU_HASH; static bfd_vma version_info[16]; static Elf_Internal_Ehdr elf_header; |