summaryrefslogtreecommitdiffstats
path: root/crypto/perlasm
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2020-02-26 13:04:41 +1000
committerShane Lontis <shane.lontis@oracle.com>2020-02-26 13:04:41 +1000
commit2c702ef27dd632de08d56456f7f6af11e3e05b5f (patch)
tree44b7b388a44862011951ca1f0a7ae4604571f4d6 /crypto/perlasm
parente70452155e7d93118d33f4dde964a67d4ac1b505 (diff)
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 <tjh@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/11137)
Diffstat (limited to 'crypto/perlasm')
-rwxr-xr-xcrypto/perlasm/x86_64-xlate.pl7
1 files changed, 6 insertions, 1 deletions
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