checkasm: arm: Don't start new const blocks for each string
authorMartin Storsjö <martin@martin.st>
Sat, 16 Jul 2016 19:31:02 +0000 (22:31 +0300)
committerMartin Storsjö <martin@martin.st>
Sun, 17 Jul 2016 09:21:19 +0000 (12:21 +0300)
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ö <martin@martin.st>
tests/checkasm/arm/checkasm.S

index 989f6136561cebe1da9359e85808c8a2d9a30a59..5aa92c532322079e43771cfe8a7d94cad85f45c4 100644 (file)
@@ -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