Re: ubsan: undefined shift in frag_align_code
authorAlan Modra <amodra@gmail.com>
Fri, 3 Jun 2022 13:10:21 +0000 (22:40 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 3 Jun 2022 14:02:39 +0000 (23:32 +0930)
commit7e6ba6a2a56e6195da36329bdeb1654e20aad198
tree4dc7b6fe848e7ad676b47d80e258223158d25acf
parent450afa9497ab57588a79f5a3d828b9773643a852
Re: ubsan: undefined shift in frag_align_code

This one needs the same fix too.

* config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Avoid signed
integer overflow.
gas/config/tc-i386.h