From 446353ea1844410d8c19d2eb494592abb55a7b13 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Sat, 16 Jul 2016 22:31:02 +0300 Subject: checkasm: arm: Don't start new const blocks for each string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Each const block needs to be terminated by one endconst invocation so either call endconst after each, or just declare plain labels to the later strings. This fixes errors such as this, on some binutils versions: checkasm.S:38: Error: Macro `endconst' was already defined Signed-off-by: Martin Storsjö --- tests/checkasm/arm/checkasm.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/checkasm/arm') diff --git a/tests/checkasm/arm/checkasm.S b/tests/checkasm/arm/checkasm.S index 989f613656..5aa92c5323 100644 --- a/tests/checkasm/arm/checkasm.S +++ b/tests/checkasm/arm/checkasm.S @@ -35,9 +35,9 @@ endconst const error_message_fpscr .asciz "failed to preserve register FPSCR" -const error_message_gpr +error_message_gpr: .asciz "failed to preserve register r%d" -const error_message_vfp +error_message_vfp: .asciz "failed to preserve register d%d" endconst -- cgit v1.2.3