Skip to content
Snippets Groups Projects
Commit 446353ea authored by Martin Storsjö's avatar Martin Storsjö
Browse files

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: default avatarMartin Storsjö <martin@martin.st>
parent 5ece6911
No related branches found
No related tags found
No related merge requests found
...@@ -35,9 +35,9 @@ endconst ...@@ -35,9 +35,9 @@ endconst
const error_message_fpscr const error_message_fpscr
.asciz "failed to preserve register FPSCR" .asciz "failed to preserve register FPSCR"
const error_message_gpr error_message_gpr:
.asciz "failed to preserve register r%d" .asciz "failed to preserve register r%d"
const error_message_vfp error_message_vfp:
.asciz "failed to preserve register d%d" .asciz "failed to preserve register d%d"
endconst endconst
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment