]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
power10 on ppc32
authorAlan Modra <amodra@gmail.com>
Wed, 9 Sep 2020 12:40:47 +0000 (22:10 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 28 Jan 2021 01:21:57 +0000 (11:51 +1030)
commit7601b250d53db736850eb7f7cc033a10dda2a23b
treea48d313e70822c2b32761496e00942d22ce39a44
parente658f42c0fe7e84a0e1eedaea4b29a4e3a23840c
power10 on ppc32

We don't support power10 on ppc32, mainly because some instructions
have 34-bit fields for which we don't have relocations on ppc32.
If you try to assemble typical code, you'll see errors saying
"reloc ... not supported by object file format".  Also, on 32-bit
hosts with binutils configured without a 64-bit bfd, you'll see errors
saying "bignum invalid" when using large offsets.  But let's not kill
output of prefix insns entirely on 32-bit hosts.

* config/tc-ppc.c (md_assemble): Emit prefix insn by parts when
valueT is smaller than 64 bits.

(cherry picked from commit 15a32af52fdc010801396cbcf62f33d88435ac1a)
gas/ChangeLog
gas/config/tc-ppc.c