commit | a58577878b19cb2e6ebbfdbff557203c344955b1 | [log] [tgz] |
---|---|---|
author | Nelson Chu <nelson.chu@sifive.com> | Mon Nov 22 19:34:45 2021 +0800 |
committer | Nelson Chu <nelson.chu@sifive.com> | Mon Nov 22 19:40:42 2021 +0800 |
tree | 2c4ac80988970e3d2a85aff3b0cbafb7727bc934 | |
parent | e7e599a156fe24631f313e95818dfc79fb3112d7 [diff] |
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.