Browse Source

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)
master
H.J. Lu 2 years ago
committed by Shane Lontis
parent
commit
2c702ef27d
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      crypto/perlasm/x86_64-xlate.pl

+ 6
- 1
crypto/perlasm/x86_64-xlate.pl View File

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


Loading…
Cancel
Save