diff options
author | Nick Clifton <nickc@redhat.com> | 2022-11-21 16:44:02 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-11-21 16:44:02 +0000 |
commit | 1a7e622b82fa621ab505dd911bc30c1efcb4a9b0 (patch) | |
tree | 6736a37fd2c9c46a1de07f4b847087e11af15797 /gas | |
parent | b0b23e06c3a2e3b92d6f12d99650c7d1cc5d939c (diff) | |
download | gdb-1a7e622b82fa621ab505dd911bc30c1efcb4a9b0.zip gdb-1a7e622b82fa621ab505dd911bc30c1efcb4a9b0.tar.gz gdb-1a7e622b82fa621ab505dd911bc30c1efcb4a9b0.tar.bz2 |
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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/cpu-cortex-a76ae.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/cpu-cortex-a77.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/cpu-cortex-a76ae.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/cpu-cortex-a77.d | 2 |
5 files changed, 14 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index a299d02..74dbaa0 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,13 @@ +2022-11-21 Nick Clifton <nickc@redhat.com> + + PR 29764 + * 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. + 2022-10-31 Nick Clifton <nickc@redhat.com> * testsuite/gas/rx/mvtacgu.d: Update expected disassembly. diff --git a/gas/testsuite/gas/aarch64/cpu-cortex-a76ae.d b/gas/testsuite/gas/aarch64/cpu-cortex-a76ae.d index 7f7cf29..5870e30 100644 --- a/gas/testsuite/gas/aarch64/cpu-cortex-a76ae.d +++ b/gas/testsuite/gas/aarch64/cpu-cortex-a76ae.d @@ -1,6 +1,6 @@ # name: Assemble and dump for cortex-a76ae CPU # source: nop-asm.s # as: -mcpu=cortex-a76ae -# objdump: -d -mcortex-a76ae +# objdump: -d -maarch64:cortex-a76ae #... diff --git a/gas/testsuite/gas/aarch64/cpu-cortex-a77.d b/gas/testsuite/gas/aarch64/cpu-cortex-a77.d index caff73f..4a4af8f 100644 --- a/gas/testsuite/gas/aarch64/cpu-cortex-a77.d +++ b/gas/testsuite/gas/aarch64/cpu-cortex-a77.d @@ -1,6 +1,6 @@ # name: Assemble and dump for cortex-a77 CPU # source: nop-asm.s # as: -mcpu=cortex-a77 -# objdump: -d -mcortex-a77 +# objdump: -d -maarch64:cortex-a77 #... diff --git a/gas/testsuite/gas/arm/cpu-cortex-a76ae.d b/gas/testsuite/gas/arm/cpu-cortex-a76ae.d index 7f7cf29..b3cb849 100644 --- a/gas/testsuite/gas/arm/cpu-cortex-a76ae.d +++ b/gas/testsuite/gas/arm/cpu-cortex-a76ae.d @@ -1,6 +1,6 @@ # name: Assemble and dump for cortex-a76ae CPU # source: nop-asm.s # as: -mcpu=cortex-a76ae -# objdump: -d -mcortex-a76ae +# objdump: -d -marm:cortex-a76ae #... diff --git a/gas/testsuite/gas/arm/cpu-cortex-a77.d b/gas/testsuite/gas/arm/cpu-cortex-a77.d index caff73f..090edcc 100644 --- a/gas/testsuite/gas/arm/cpu-cortex-a77.d +++ b/gas/testsuite/gas/arm/cpu-cortex-a77.d @@ -1,6 +1,6 @@ # name: Assemble and dump for cortex-a77 CPU # source: nop-asm.s # as: -mcpu=cortex-a77 -# objdump: -d -mcortex-a77 +# objdump: -d -marm:cortex-a77 #... |