diff options
author | Alan Modra <amodra@gmail.com> | 2022-07-12 11:17:38 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-07-12 12:05:28 +0930 |
commit | a14413ddff3009418711b9f78a7d3dc7ac10dab0 (patch) | |
tree | 613d7d43eb298cea83cf8dab3aeb4c35558cf203 /gdb/dwarf2 | |
parent | 35c5dcc666082f0edf6dd559e46b98d0e7986a2e (diff) | |
download | gdb-a14413ddff3009418711b9f78a7d3dc7ac10dab0.zip gdb-a14413ddff3009418711b9f78a7d3dc7ac10dab0.tar.gz gdb-a14413ddff3009418711b9f78a7d3dc7ac10dab0.tar.bz2 |
PowerPC md_end: Don't htab_delete(NULL)
It might be possible to hit md_end before md_begin is called, don't
segfault if so. Also, remove a useless check.
* gas/config/tc-ppc.c (insn_calloc): Remove needless overflow
check.
(ppc_md_end): Check ppc_hash before deleting. Clear ppc_hash.
Diffstat (limited to 'gdb/dwarf2')
0 files changed, 0 insertions, 0 deletions