aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-open.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2025-03-19 14:04:43 -0600
committerTom Tromey <tromey@adacore.com>2025-04-24 13:25:08 -0600
commit0c03db90812b50d3db4a149f679a994fa9cbee87 (patch)
treeb18cfc452e26fec72a032ddc6a6a8751bdcfea7f /libctf/ctf-open.c
parent6967933c5acf85a6c8d7322b1aff529ce86507e4 (diff)
downloadbinutils-0c03db90812b50d3db4a149f679a994fa9cbee87.zip
binutils-0c03db90812b50d3db4a149f679a994fa9cbee87.tar.gz
binutils-0c03db90812b50d3db4a149f679a994fa9cbee87.tar.bz2
Use correct sign in get_mpz
This changes dwarf2/read.c:get_mpz to use the correct sign-extension function. Normally a rational constant uses signed values, but a purely unsigned form also seems fine here. This adds a new attribute::form_is_strictly_unsigned, which is more precise than form_is_unsigned (which accepts a lot of forms that aren't really for ordinary constants). Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32680
Diffstat (limited to 'libctf/ctf-open.c')
0 files changed, 0 insertions, 0 deletions