summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2016-07-16 22:31:02 +0300
committerMartin Storsjö <martin@martin.st>2016-07-17 12:21:19 +0300
commit446353ea1844410d8c19d2eb494592abb55a7b13 (patch)
tree4422d98b86ed744a0e8e7081026c503d40e83c89 /tests
parent5ece6911010b3464d2fdacfa8031c15b5bd83418 (diff)
checkasm: arm: Don't start new const blocks for each string
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/arm/checkasm.S4
1 files changed, 2 insertions, 2 deletions
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