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-02 22:33:40 +0000 |
commit | 17a80fa80adbe79df39ba1fc70e611dff92df197 (patch) | |
tree | 719ce59f33c3cba548f5c132b25b77de04bb5ea2 /bfd/elf32-spu.c | |
parent | fa93e3d3471aab48ae273437c3159ebb0205a592 (diff) | |
download | gdb-17a80fa80adbe79df39ba1fc70e611dff92df197.zip gdb-17a80fa80adbe79df39ba1fc70e611dff92df197.tar.gz gdb-17a80fa80adbe79df39ba1fc70e611dff92df197.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.
Diffstat (limited to 'bfd/elf32-spu.c')
0 files changed, 0 insertions, 0 deletions