loongarch32 build failure on 32-bit host
authorAlan Modra <amodra@gmail.com>
Tue, 14 Dec 2021 11:42:17 +0000 (22:12 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 14 Dec 2021 22:51:12 +0000 (09:21 +1030)
commit47cf88952ae54f561c4121dc9c90a15d90fe72ea
tree2ea9ef22227fe33d768c624d8379be7dc226205a
parenta078dd9ce81537fa01356c12283bf14f29b36439
loongarch32 build failure on 32-bit host

gas/config/tc-loongarch.c: In function â€˜assember_macro_helper’:
gas/config/tc-loongarch.c:915:28: error: right shift count >= width of type [-Werror=shift-count-overflow]
  915 |       hi32 = insn->args[1] >> 32;
      |                            ^~

One possible fix is to make offsetT a 64-bit type for loongarch32.
This also makes bfd/targmatch.h (generated from bfd/config.bfd)
consistent since the loongarch32 match is inside #ifdef BFD64.

* config.bfd (loongarch32-*): Set want64.
bfd/config.bfd