aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arm.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2021-02-26 16:37:30 +0000
committerNick Clifton <nickc@redhat.com>2021-02-26 16:37:30 +0000
commitfe0171d248e6d4cbc59c3101b9e74e18a9292294 (patch)
tree78d7b4f5d6ef5e564a2ad5fca9b645d0af08fb90 /gas/config/tc-arm.c
parent0e12f6c8020062fa520b8e17be98bd84a473fc20 (diff)
downloadgdb-fe0171d248e6d4cbc59c3101b9e74e18a9292294.zip
gdb-fe0171d248e6d4cbc59c3101b9e74e18a9292294.tar.gz
gdb-fe0171d248e6d4cbc59c3101b9e74e18a9292294.tar.bz2
Correct an error message in the ARM assembler.
PR 27411 * config/tc-arm.c (do_t_add_sub): Correct error message. * testsuite/gas/arm/pr27411.s: New test. * testsuite/gas/arm/pr27411.d: New test driver. * testsuite/gas/arm/pr27411.l: Expected error output for new test.
Diffstat (limited to 'gas/config/tc-arm.c')
-rw-r--r--gas/config/tc-arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index d3bb56d..e35cdd5 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -11635,7 +11635,7 @@ do_t_add_sub (void)
}
}
else
- constraint (inst.size_req == 2, BAD_HIREG);
+ constraint (inst.size_req == 2, _("cannot honor width suffix"));
}
if (inst.size_req == 4
|| (inst.size_req != 2 && !opcode))