[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] x86: fix build with old gas



.string8 is only supported by gas 2.19 and newer.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- 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



Attachment: x86-asm-assert-use-asciz.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.