diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2017-02-02 20:53:16 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2017-02-13 14:27:41 +0000 |
commit | 6f9b43834dc8574066d6dd4fb4722dd7bb1cdd59 (patch) | |
tree | 4762b7fc45115a72e762faef08d2077fd28e549c /COPYING | |
parent | 53e0feaeb41ce238fb9982160b9e72a26ff8325e (diff) | |
download | gdb-6f9b43834dc8574066d6dd4fb4722dd7bb1cdd59.zip gdb-6f9b43834dc8574066d6dd4fb4722dd7bb1cdd59.tar.gz gdb-6f9b43834dc8574066d6dd4fb4722dd7bb1cdd59.tar.bz2 |
MIPS/BFD: Fix assertion in `mips_elf_sort_hash_table'
Move the assertion on non-NULL `htab' in `mips_elf_sort_hash_table' to
the beginning, before the pointer is dereferenced (`mips_elf_hash_table
(info)' and `elf_hash_table (info)' both point to the same memory
location, differently typed).
bfd/
* elfxx-mips.c (mips_elf_sort_hash_table): Move assertion on
non-NULL `htab' to the beginning.
(cherry picked from commit 17a80fa80adbe79df39ba1fc70e611dff92df197)
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions