diff options
author | Alex Coplan <alex.coplan@arm.com> | 2020-04-30 15:47:30 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-04-30 15:47:30 +0100 |
commit | 09c1e68a162f9a2c2cadee916387a147a8af44b7 (patch) | |
tree | a0c677f1aa242b8e99f55a6c9856e24043e8de23 /binutils | |
parent | 8a8a1171237d45e20b2ebb18ee2d3f8686e01b82 (diff) | |
download | gdb-09c1e68a162f9a2c2cadee916387a147a8af44b7.zip gdb-09c1e68a162f9a2c2cadee916387a147a8af44b7.tar.gz gdb-09c1e68a162f9a2c2cadee916387a147a8af44b7.tar.bz2 |
AArch64: add GAS support for UDF instruction
binutils * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
disassembly.
* testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
ld/ * testsuite/ld-aarch64/erratum843419_tls_ie.d: Use udf in disassembly.
* testsuite/ld-aarch64/farcall-b-section.d: Likewise.
* testsuite/ld-aarch64/farcall-back.d: Likewise.
* testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
gas/ * config/tc-aarch64.c (fix_insn): Implement for AARCH64_OPND_UNDEFINED.
(parse_operands): Implement for AARCH64_OPND_UNDEFINED.
* testsuite/gas/aarch64/udf.s: New.
* testsuite/gas/aarch64/udf.d: New.
* testsuite/gas/aarch64/udf-invalid.s: New.
* testsuite/gas/aarch64/udf-invalid.l: New.
* testsuite/gas/aarch64/udf-invalid.d: New.
include * opcode/aarch64.h (enum aarch64_opnd): Add AARCH64_OPND_UNDEFINED.
opcodes * aarch64-opc.h (enum aarch64_field_kind): Add FLD_imm16_2.
* aarch64-opc.c (fields): Add entry for FLD_imm16_2.
(operand_general_constraint_met_p): validate AARCH64_OPND_UNDEFINED.
* aarch64-tbl.h (aarch64_opcode_table): Add udf instruction, entry for
FLD_imm16_2.
* aarch64-asm-2.c: Regenerated.
* aarch64-dis-2.c: Regenerated.
* aarch64-opc-2.c: Regenerated.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/aarch64/in-order-all.d | 6 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/aarch64/out-of-order-all.d | 6 |
3 files changed, 12 insertions, 6 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 3cd5095..d4fa9fb 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2020-04-30 Alex Coplan <alex.coplan@arm.com> + + * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new + disassembly. + * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise. + 2020-04-30 Nick Clifton <nickc@redhat.com> * testsuite/lib/binutils-common.exp (check_pie_support): New diff --git a/binutils/testsuite/binutils-all/aarch64/in-order-all.d b/binutils/testsuite/binutils-all/aarch64/in-order-all.d index a484ca7..a6daea8 100644 --- a/binutils/testsuite/binutils-all/aarch64/in-order-all.d +++ b/binutils/testsuite/binutils-all/aarch64/in-order-all.d @@ -10,7 +10,7 @@ Disassembly of section \.func1: .+ <v1>: [^:]+: 8b010000 add x0, x0, x1 -[^:]+: 00000000 \.inst 0x00000000 ; undefined +[^:]+: 00000000 udf #0 Disassembly of section \.func2: @@ -25,12 +25,12 @@ Disassembly of section \.func3: [^:]+: 8b010000 add x0, x0, x1 [^:]+: 8b010000 add x0, x0, x1 [^:]+: 8b010000 add x0, x0, x1 -[^:]+: 00000000 \.inst 0x00000000 ; undefined +[^:]+: 00000000 udf #0 Disassembly of section \.rodata: .+ <\.rodata>: -[^:]+: 00000000 \.inst 0x00000000 ; undefined +[^:]+: 00000000 udf #0 Disassembly of section .global: diff --git a/binutils/testsuite/binutils-all/aarch64/out-of-order-all.d b/binutils/testsuite/binutils-all/aarch64/out-of-order-all.d index d3aa79e..955d190 100644 --- a/binutils/testsuite/binutils-all/aarch64/out-of-order-all.d +++ b/binutils/testsuite/binutils-all/aarch64/out-of-order-all.d @@ -20,7 +20,7 @@ Disassembly of section \.func1: .+ <v1>: [^:]+: 8b010000 add x0, x0, x1 -[^:]+: 00000000 \.inst 0x00000000 ; undefined +[^:]+: 00000000 udf #0 Disassembly of section \.func3: @@ -30,9 +30,9 @@ Disassembly of section \.func3: [^:]+: 8b010000 add x0, x0, x1 [^:]+: 8b010000 add x0, x0, x1 [^:]+: 8b010000 add x0, x0, x1 -[^:]+: 00000000 \.inst 0x00000000 ; undefined +[^:]+: 00000000 udf #0 Disassembly of section \.rodata: .+ <\.rodata>: -[^:]+: 00000000 \.inst 0x00000000 ; undefined +[^:]+: 00000000 udf #0 |