Fix ARM and AArch64 assembler tests to work in a multi-arch environment.
authorNick Clifton <nickc@redhat.com>
Mon, 21 Nov 2022 16:44:02 +0000 (16:44 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 21 Nov 2022 16:44:02 +0000 (16:44 +0000)
commit1a7e622b82fa621ab505dd911bc30c1efcb4a9b0
tree6736a37fd2c9c46a1de07f4b847087e11af15797
parentb0b23e06c3a2e3b92d6f12d99650c7d1cc5d939c
Fix ARM and AArch64 assembler tests to work in a multi-arch environment.

PR 29764
gas * testsuite/gas/arm/cpu-cortex-a76ae.d: Add arm prefix to the -m
option passed to objdump.
* testsuite/gas/arm/cpu-cortex-a77.d: Likewise.
* testsuite/gas/aarch64/cpu-cortex-a76ae.d: Add aarch64 prefix to
the -m option passed to objdump.
* testsuite/gas/aarch64/cpu-cortex-a77.d: Likewise.

bfd * cpu-arm.c (scan): Accept machine names prefixed with "arm:".
* cpu-aarch64.c (scan): Accept machine names prefixed with "aarch64:".

bin * doc/binutils.texi (objdump): Note that the -m option supports
the <architecture>:<machine> syntax.
bfd/ChangeLog
bfd/cpu-aarch64.c
bfd/cpu-arm.c
binutils/ChangeLog
binutils/doc/binutils.texi
gas/ChangeLog
gas/testsuite/gas/aarch64/cpu-cortex-a76ae.d
gas/testsuite/gas/aarch64/cpu-cortex-a77.d
gas/testsuite/gas/arm/cpu-cortex-a76ae.d
gas/testsuite/gas/arm/cpu-cortex-a77.d