]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Silence asan warnings in resolve_symbol_value
authorAlan Modra <amodra@gmail.com>
Fri, 17 Jan 2025 07:27:48 +0000 (17:57 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 17 Jan 2025 08:36:39 +0000 (19:06 +1030)
commit1897dad5d755c0a0c0a9a3a294576add7d5c2280
treedac040e875923d02c39129d8387d8a8fde7412fc
parentd7a3c9e650240e9e1c8e66e9099dc2880840a919
Silence asan warnings in resolve_symbol_value

The ".quad with division (fwdref)" gas test fails with asan warning
negation of -9223372036854775808 cannot be represented in type 'long int'
Fix this and another similar case.

* symbols.c (resolve_symbol_value): Cast "left" to valueT
before negating.
gas/symbols.c