gas/write: extend fx_pcrel_adjust to 16 bits fx_pcrel_adjust
authorDmitry Selyutin <ghostmansd@gmail.com>
Wed, 11 May 2022 17:12:24 +0000 (17:12 +0000)
committerDmitry Selyutin <ghostmansd@gmail.com>
Sat, 14 May 2022 10:28:18 +0000 (10:28 +0000)
commit3e8da526c8ce43297285b9e9b3fa30ddfe484efd
treee416abcb2f9aca0b1e123d6f81303e322b471254
parent21ce67a8751e137072342b479518eb2823005d67
gas/write: extend fx_pcrel_adjust to 16 bits

PowerPC code stores operand index into fx_pcrel_adjust field of fix
struct. Once count of PowerPC operands exceeds an 8-bit integer, the
code won't be able to store operand index anymore.
This patch extends the aforementioned field to 16 bits, exactly like
the ppc_opindex_t type; the missing 8 bits are taken from the fx_unused
field.
gas/write.h