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
---
 tests/checkasm/arm/checkasm.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/checkasm/arm/checkasm.S b/tests/checkasm/arm/checkasm.S
index 989f613..5aa92c5 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
 
-- 
2.7.4 (Apple Git-66)

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to