.string8 is only supported by gas 2.19 and newer.

Signed-off-by: Jan Beulich <jbeul...@suse.com>

--- a/xen/include/asm-x86/bug.h
+++ b/xen/include/asm-x86/bug.h
@@ -79,7 +79,7 @@ extern const struct bug_frame __start_bu
     .L\@ud: ud2a
 
     .pushsection .rodata.str1, "aMS", @progbits, 1
-         .L\@s1: .string8 "\file_str"
+         .L\@s1: .asciz "\file_str"
     .popsection
 
     .pushsection .bug_frames.\type, "a", @progbits
@@ -91,7 +91,7 @@ extern const struct bug_frame __start_bu
 
         .if \second_frame
             .pushsection .rodata.str1, "aMS", @progbits, 1
-                .L\@s2: .string8 "\msg"
+                .L\@s2: .asciz "\msg"
             .popsection
             .long 0, (.L\@s2 - .L\@bf)
         .endif



x86: fix build with old gas

.string8 is only supported by gas 2.19 and newer.

Signed-off-by: Jan Beulich <jbeul...@suse.com>

--- a/xen/include/asm-x86/bug.h
+++ b/xen/include/asm-x86/bug.h
@@ -79,7 +79,7 @@ extern const struct bug_frame __start_bu
     .L\@ud: ud2a
 
     .pushsection .rodata.str1, "aMS", @progbits, 1
-         .L\@s1: .string8 "\file_str"
+         .L\@s1: .asciz "\file_str"
     .popsection
 
     .pushsection .bug_frames.\type, "a", @progbits
@@ -91,7 +91,7 @@ extern const struct bug_frame __start_bu
 
         .if \second_frame
             .pushsection .rodata.str1, "aMS", @progbits, 1
-                .L\@s2: .string8 "\msg"
+                .L\@s2: .asciz "\msg"
             .popsection
             .long 0, (.L\@s2 - .L\@bf)
         .endif
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to