From 2c702ef27dd632de08d56456f7f6af11e3e05b5f Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 26 Feb 2020 13:04:41 +1000 Subject: [PATCH] x86_64: Replace .asciz "GNU" with .byte Replace .asciz "GNU" with .byte since .asciz isn't supported on Solaris. Fixes https://github.com/openssl/openssl/issues/11132 Reviewed-by: Tim Hudson Reviewed-by: Richard Levitte Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/11137) --- crypto/perlasm/x86_64-xlate.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl index aff165c5fa..f87f1a5b96 100755 --- a/crypto/perlasm/x86_64-xlate.pl +++ b/crypto/perlasm/x86_64-xlate.pl @@ -115,7 +115,12 @@ if ($flavour =~ /elf/) { .long 4f - 1f .long 5 0: - .asciz "GNU" + # "GNU" encoded with .byte, since .asciz isn't supported + # on Solaris. + .byte 0x47 + .byte 0x4e + .byte 0x55 + .byte 0 1: .p2align $p2align .long 0xc0000002 -- 2.25.1