ubsan: undefined shift in frag_align_code
authorAlan Modra <amodra@gmail.com>
Thu, 2 Jun 2022 06:40:30 +0000 (16:10 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 2 Jun 2022 06:40:30 +0000 (16:10 +0930)
commite0ad09cfa5f0672ee917de2c56a27427e6908220
tree3ae5ad83b9b0c8fdeddc6ae5460329fa1a345f32
parent53f2b36a54b9597f734891176fe6ba0866b819a8
ubsan: undefined shift in frag_align_code

* frags.c (MAX_MEM_FOR_RS_ALIGN_CODE): Avoid signed integer
overflow.
gas/frags.c