]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: update csect alignment for PPC prefixed instructions on XCOFF
authorClément Chigot <clement.chigot@atos.net>
Tue, 22 Jun 2021 08:15:06 +0000 (10:15 +0200)
committerAlan Modra <amodra@gmail.com>
Thu, 24 Jun 2021 01:21:27 +0000 (10:51 +0930)
commit1daf786ba3db83455d4d2a9661d0715f433f8a3f
treeadaa0eaa03bd68f52b75efb7ed38fde90a7d5f3c
parent2f631626f1d8a354d3c5f9d2fce15b47d05d1455
gas: update csect alignment for PPC prefixed instructions on XCOFF

Power10 prefixed instructions must not cross 64-byte boundaries.
This is already handled.
However, on XCOFF, the csect must be updated to match the new
alignment.

* config/tc-ppc.c (md_assemble): Update ppc_current_csect
alignment when finding prefixed instructions.
gas/ChangeLog
gas/config/tc-ppc.c