x86: fix build with old gas
PATCH 1/1 x86: fix build with old gas
.string8 is only supported by gas 2.19 and newer.
Signed-off-by Jan Beulich <[email protected]>
xen/include/asm-x86/bug.h +2 -2
@@ -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 <[email protected]>
xen/include/asm-x86/bug.h +2 -2
@@ -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
[email protected]
http://lists.xen.org/xen-devel
Quoted 3 lines · Jan Beulich
.string8 is only supported by gas 2.19 and newer.
Signed-off-by Jan Beulich <[email protected]>
Reviewed-by Andrew Cooper <[email protected]>
Quoted 24 lines
xen/include/asm-x86/bug.h +2
-2@@ -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