]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Error on lmw, lswi and related PowerPC insns when LE
authorAlan Modra <amodra@gmail.com>
Mon, 10 Aug 2020 05:36:43 +0000 (15:06 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 24 Sep 2020 02:44:42 +0000 (12:14 +0930)
commit08ec0947d2601e799c9ad1ac5d7cba3d67893e55
tree14b845dd066496fe2f8c1378ccf6156d356b8ec5
parent584e9cfc8096dbac00501bd48180cc2da9a085f5
Error on lmw, lswi and related PowerPC insns when LE

* config/tc-ppc.c (md_assemble): Error for lmw, stmw, lswi, lswx,
stswi, or stswx in little-endian mode.
* testsuite/gas/ppc/476.d,
* testsuite/gas/ppc/476.s: Delete lmw, stmw, lswi, lswx, stswi, stswx.
* testsuite/gas/ppc/a2.d,
* testsuite/gas/ppc/a2.s: Move lmw, stmw, lswi, lswx, stswi, stswx..
* testsuite/gas/ppc/be.d,
* testsuite/gas/ppc/be.s: ..to here, new big-endian only test.
* testsuite/gas/ppc/le_error.d,
* testsuite/gas/ppc/le_error.l: New little-endian test.
* testsuite/gas/ppc/ppc.exp: Run new tests.

(cherry picked from commit 86c0f617ac5f3a5f4aab76c7f90255254ca27576)
gas/ChangeLog
gas/config/tc-ppc.c
gas/testsuite/gas/ppc/476.d
gas/testsuite/gas/ppc/476.s
gas/testsuite/gas/ppc/a2.d
gas/testsuite/gas/ppc/a2.s
gas/testsuite/gas/ppc/be.d [new file with mode: 0644]
gas/testsuite/gas/ppc/be.s [new file with mode: 0644]
gas/testsuite/gas/ppc/le_error.d [new file with mode: 0644]
gas/testsuite/gas/ppc/le_error.l [new file with mode: 0644]
gas/testsuite/gas/ppc/ppc.exp