forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -2526,6 +2526,12 @@ can be useful when disassembling object files which do not describe
|
||||
architecture information, such as S-records. You can list the available
|
||||
architectures with the @option{-i} option.
|
||||
|
||||
For most architectures it is possible to supply an architecture
|
||||
name and a machine name, separated by a colon. For example
|
||||
@samp{foo:bar} would refer to the @samp{bar} machine type in the
|
||||
@samp{foo} architecture. This can be helpful if objdump has been
|
||||
configured to support multiple architectures.
|
||||
|
||||
If the target is an ARM architecture then this switch has an
|
||||
additional effect. It restricts the disassembly to only those
|
||||
instructions supported by the architecture specified by @var{machine}.
|
||||
|
||||
Reference in New Issue
Block a user