mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
4bd13cde17
PR target/19722 opcodes * aarch64-dis.c (aarch64_opcode_decode): Run verifier if present. * aarch64-opc.c (verify_ldpsw): New function. * aarch64-opc.h (verify_ldpsw): New prototype. * aarch64-tbl.h: Add initialiser for verifier field. (LDPSW): Set verifier to verify_ldpsw. binutils* testsuite/binutils-all/aarch64/illegal.s: New test. * testsuite/binutils-all/aarch64/illegal.d: New test driver. include * opcode/aarch64.h (struct aarch64_opcode): Add verifier field.
13 lines
241 B
Makefile
13 lines
241 B
Makefile
#PROG: objcopy
|
|
#objdump: -d
|
|
#name: Check that the disassembler complains about illegal instructions.
|
|
|
|
.*: +file format .*aarch64.*
|
|
|
|
Disassembly of section \.text:
|
|
|
|
0+000 <.*>:
|
|
[ ]+0:[ ]+68ea18cc[ ]+.inst[ ]+0x68ea18cc ; undefined
|
|
#pass
|
|
|