diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2021-03-25 16:32:46 +0000 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2021-03-25 16:32:47 +0000 |
commit | 24c877f9b19dc38f9c40e25116175481c8bb78f2 (patch) | |
tree | 8fbbd508b009e36b690ff30176cf6df38f17534a /include/ChangeLog | |
parent | 485170cdb1b634b550cf227f4642dcb38097b80c (diff) | |
download | gdb-24c877f9b19dc38f9c40e25116175481c8bb78f2.zip gdb-24c877f9b19dc38f9c40e25116175481c8bb78f2.tar.gz gdb-24c877f9b19dc38f9c40e25116175481c8bb78f2.tar.bz2 |
include: always do unsigned left-shift in CTF_SET_STID
This turns into a signed left shift by 31 bits, otherwise. This is an
offset and is always treated as unsigned in any case, so add an
appropriate cast.
include/ChangeLog
2021-03-25 Nick Alcock <nick.alcock@oracle.com>
PR libctf/27628
* ctf-api.h: Fix some indentation.
(CTF_SET_STID): Always do an unsigned shift, even if STID is
signed.
Diffstat (limited to 'include/ChangeLog')
-rw-r--r-- | include/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index db23305..5fa6b09 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,10 @@ +2021-03-25 Nick Alcock <nick.alcock@oracle.com> + + PR libctf/27628 + * ctf-api.h: Fix some indentation. + (CTF_SET_STID): Always do an unsigned shift, even if STID is + signed. + 2021-03-19 H.J. Lu <hongjiu.lu@intel.com> * elf/common.h (EM_INTEL205): Renamed to ... |