diff options
author | Nelson Chu <nelson@rivosinc.com> | 2022-10-27 09:39:13 +0800 |
---|---|---|
committer | Nelson Chu <nelson@rivosinc.com> | 2022-10-27 16:45:43 +0800 |
commit | f52fb009085e63da25eeacd39990ac6243ffed76 (patch) | |
tree | 9567e03c1468be0225b24ba0de92c8490156e410 /gdb/sh-netbsd-nat.c | |
parent | ffbe89531c2e9bfd81a16241e1d17fff134fab9e (diff) | |
download | gdb-f52fb009085e63da25eeacd39990ac6243ffed76.zip gdb-f52fb009085e63da25eeacd39990ac6243ffed76.tar.gz gdb-f52fb009085e63da25eeacd39990ac6243ffed76.tar.bz2 |
RISC-V: Fix build failures for -Werror=sign-compare.
elfnn-riscv.c: In function ‘riscv_relax_resolve_delete_relocs’:
elfnn-riscv.c:4256:30: error: operand of ‘?:’ changes signedness from ‘int’ to ‘unsigned int’ due to unsignedness of other operand [-Werror=sign-compare]
So make the operands unsigned could resolve problem.
bfd/
* elfnn-riscv.c (riscv_relax_resolve_delete_relocs): Fixed build
failures for -Werror=sign-compare.
Diffstat (limited to 'gdb/sh-netbsd-nat.c')
0 files changed, 0 insertions, 0 deletions