]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/common/ChangeLog
sim: profile: fix bucketing with 64-bit targets
authorMike Frysinger <vapier@gentoo.org>
Tue, 12 Jan 2021 10:39:16 +0000 (05:39 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 30 Jan 2021 06:15:04 +0000 (01:15 -0500)
commit18d4b488f4538f11cfdc618ddfb26eaf2c955fb7
treed2fab6fdb0fd5af67c287be85cc83a0cc6d21384
parent88f68ee277e3f3dd5b94360e797f06e6378ea844
sim: profile: fix bucketing with 64-bit targets

When the target's PC is 64-bits, this shift expands into a range of
8 * 8 - 1 which doesn't work with 32-bit constants.  Force it to be
a 64-bit value all the time and let the compiler truncate it.
sim/common/ChangeLog
sim/common/sim-profile.c