aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorNelson Chu <nelson.chu@sifive.com>2021-11-22 19:34:45 +0800
committerNelson Chu <nelson.chu@sifive.com>2021-11-22 19:40:42 +0800
commita58577878b19cb2e6ebbfdbff557203c344955b1 (patch)
tree2c4ac80988970e3d2a85aff3b0cbafb7727bc934 /gdb
parente7e599a156fe24631f313e95818dfc79fb3112d7 (diff)
downloadbinutils-a58577878b19cb2e6ebbfdbff557203c344955b1.zip
binutils-a58577878b19cb2e6ebbfdbff557203c344955b1.tar.gz
binutils-a58577878b19cb2e6ebbfdbff557203c344955b1.tar.bz2
RISC-V: Removed the redundant NULL pointer check in the riscv_update_subset.
If we always use the .option arch to call the riscv_update_subset, then it is almost impossible that the input string will be NULL. Therefore, just remove the redundant NULL pointer check in the riscv_update_subset. bfd/ * elfxx-riscv.c (riscv_update_subset): Removed the redundant NULL pointer check.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions