gas: bpf: fix tests for pseudo-c syntax
authorJose E. Marchesi <jose.marchesi@oracle.com>
Thu, 27 Apr 2023 18:05:19 +0000 (20:05 +0200)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Thu, 27 Apr 2023 18:06:30 +0000 (20:06 +0200)
commit2b8c7766ea357ff9b22531d6fdf0c3bd69cc044f
treeab76e7ed867d1a31edbf025a2527629803c1ec44
parente29ff7211b608b7aa998a834e55160324fa3744a
gas: bpf: fix tests for pseudo-c syntax

This patch fixes the GAS BPF testsuite so the tests for pseudo-c
syntax are actually executed.

2023-04-27  Jose E. Marchesi  <jose.marchesi@oracle.com>

* testsuite/gas/bpf/mem.dump: New file.
* testsuite/gas/bpf/mem-pseudoc.d: Likewise.
* testsuite/gas/bpf/mem.d: #dump mem.dump.
* testsuite/gas/bpf/lddw.dump: New file.
* testsuite/gas/bpf/lddw-pseudoc.d: Likewise.
* testsuite/gas/bpf/lddw.d: #dump lddw.dump.
* testsuite/gas/bpf/jump.dump: New file.
* testsuite/gas/bpf/jump-pseudoc.d: Likewise
* testsuite/gas/bpf/jump.d: #dump jump.dump.
* testsuite/gas/bpf/jump32.dump: New file.
* testsuite/gas/bpf/jump32-pseudoc.d: Likewise.
* testsuite/gas/bpf/jump32.d: #dump jump32.dump.
* testsuite/gas/bpf/lddw-be.dump: New file.
* testsuite/gas/bpf/lddw-be-pseudoc.d: Likewise.
* testsuite/gas/bpf/lddw-be.d: #dump lddw-be.dump.
* testsuite/gas/bpf/indcall-1.dump: New file.
* testsuite/gas/bpf/indcall-1-pseudoc.d: Likewise.
* testsuite/gas/bpf/indcall-1.d: #dump indcall-1.dump.
* testsuite/gas/bpf/indcall-1-pseudoc.s (main): Fix lddw
instruction.
* testsuite/gas/bpf/atomic.dump: New file.
* testsuite/gas/bpf/atomic-pseudoc.d: Likewise.
* testsuite/gas/bpf/atomic.d: #dump atomic.dump.
* testsuite/gas/bpf/alu32.dump: New file.
* testsuite/gas/bpf/alu32-pseudoc.d: Likewise.
* testsuite/gas/bpf/alu32.d: #dump alu32.dump.
* testsuite/gas/bpf/alu.dump: New file.
* testsuite/gas/bpf/alu-pseudoc.d: Likewise.
* testsuite/gas/bpf/alu.d: #dump alu.dump.

* testsuite/gas/bpf/alu-be.dump: New file.
* testsuite/gas/bpf/alu-be-pseudoc.d: Likewise.
* testsuite/gas/bpf/alu-be.d: #dump alu-be.dump.
* testsuite/gas/bpf/alu32-be-pseudoc.d: New file.
* testsuite/gas/bpf/alu32-be-dump: Likewise.
* testsuite/gas/bpf/alu32-be.d: #dump alu32-be-dump.
* testsuite/gas/bpf/bpf.exp: Run *-pseudoc tests.
36 files changed:
gas/ChangeLog
gas/testsuite/gas/bpf/alu-be-pseudoc.d [new file with mode: 0644]
gas/testsuite/gas/bpf/alu-be.d
gas/testsuite/gas/bpf/alu-be.dump [new file with mode: 0644]
gas/testsuite/gas/bpf/alu-pseudoc.d [new file with mode: 0644]
gas/testsuite/gas/bpf/alu.d
gas/testsuite/gas/bpf/alu.dump [new file with mode: 0644]
gas/testsuite/gas/bpf/alu32-be-pseudoc.d [new file with mode: 0644]
gas/testsuite/gas/bpf/alu32-be.d
gas/testsuite/gas/bpf/alu32-be.dump [new file with mode: 0644]
gas/testsuite/gas/bpf/alu32-pseudoc.d [new file with mode: 0644]
gas/testsuite/gas/bpf/alu32.d
gas/testsuite/gas/bpf/alu32.dump [new file with mode: 0644]
gas/testsuite/gas/bpf/atomic-pseudoc.d [new file with mode: 0644]
gas/testsuite/gas/bpf/atomic.d
gas/testsuite/gas/bpf/atomic.dump [new file with mode: 0644]
gas/testsuite/gas/bpf/bpf.exp
gas/testsuite/gas/bpf/indcall-1-pseudoc.d [new file with mode: 0644]
gas/testsuite/gas/bpf/indcall-1-pseudoc.s
gas/testsuite/gas/bpf/indcall-1.d
gas/testsuite/gas/bpf/indcall-1.dump [new file with mode: 0644]
gas/testsuite/gas/bpf/jump-pseudoc.d [new file with mode: 0644]
gas/testsuite/gas/bpf/jump.d
gas/testsuite/gas/bpf/jump.dump [new file with mode: 0644]
gas/testsuite/gas/bpf/jump32-pseudoc.d [new file with mode: 0644]
gas/testsuite/gas/bpf/jump32.d
gas/testsuite/gas/bpf/jump32.dump [new file with mode: 0644]
gas/testsuite/gas/bpf/lddw-be-pseudoc.d [new file with mode: 0644]
gas/testsuite/gas/bpf/lddw-be.d
gas/testsuite/gas/bpf/lddw-be.dump [new file with mode: 0644]
gas/testsuite/gas/bpf/lddw-pseudoc.d [new file with mode: 0644]
gas/testsuite/gas/bpf/lddw.d
gas/testsuite/gas/bpf/lddw.dump [new file with mode: 0644]
gas/testsuite/gas/bpf/mem-pseudoc.d [new file with mode: 0644]
gas/testsuite/gas/bpf/mem.d
gas/testsuite/gas/bpf/mem.dump [new file with mode: 0644]