]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
RISC-V: PR32772, fixed segfault caused by the accidental removal of `h != NULL'
authorNelson Chu <nelson@rivosinc.com>
Sun, 9 Mar 2025 06:17:09 +0000 (14:17 +0800)
committerNelson Chu <nelson@rivosinc.com>
Sun, 9 Mar 2025 06:18:06 +0000 (14:18 +0800)
commit512316811d47d689d75d25aa9d5b98bdafd64df6
treec0864009d56bcc8bceebccf97f514f38c6f00105
parentcbc6950a6603e184ebc6671f2c252a56013b07c2
RISC-V: PR32772, fixed segfault caused by the accidental removal of `h != NULL'

bfd/
PR 32772
* elfnn-riscv.c (riscv_elf_relocate_section): Fixed segfault caused by
the accidental removal of `h != NULL' when handling a call to an
undefined weak function.
bfd/elfnn-riscv.c