diff options
author | Alan Modra <amodra@gmail.com> | 2021-12-14 22:12:17 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-12-15 09:21:12 +1030 |
commit | 47cf88952ae54f561c4121dc9c90a15d90fe72ea (patch) | |
tree | 2ea9ef22227fe33d768c624d8379be7dc226205a /config | |
parent | a078dd9ce81537fa01356c12283bf14f29b36439 (diff) | |
download | binutils-47cf88952ae54f561c4121dc9c90a15d90fe72ea.zip binutils-47cf88952ae54f561c4121dc9c90a15d90fe72ea.tar.gz binutils-47cf88952ae54f561c4121dc9c90a15d90fe72ea.tar.bz2 |
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.
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions