diff options
author | Alan Modra <amodra@gmail.com> | 2021-06-18 22:27:01 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-06-19 11:08:55 +0930 |
commit | 03e689aaac95da0b22f7689a2c307e8ddd99ae2c (patch) | |
tree | 3d400c00985b288b6cde2b2a356112d20bc107b8 /gas/ChangeLog | |
parent | 43f71bc5df211f424e7dfafbdfb644cd03bfcd34 (diff) | |
download | gdb-03e689aaac95da0b22f7689a2c307e8ddd99ae2c.zip gdb-03e689aaac95da0b22f7689a2c307e8ddd99ae2c.tar.gz gdb-03e689aaac95da0b22f7689a2c307e8ddd99ae2c.tar.bz2 |
ubsan errors when 32-bit bfd
A shift count exceeding the size of the value is undefined behaviour,
and so is negating a signed LONG_MIN.
* config/tc-z80.c (signed_overflow, unsigned_overflow): Avoid UB.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index ff0f65c..e217c82 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,9 @@ 2021-06-19 Alan Modra <amodra@gmail.com> + * config/tc-z80.c (signed_overflow, unsigned_overflow): Avoid UB. + +2021-06-19 Alan Modra <amodra@gmail.com> + * testsuite/gas/ppc/raw.s: Use 0 as pli constant. * testsuite/gas/ppc/raw.d: Update to suit. |