crypto/perlasm/x86_64-xlate.pl: detect GNU as to deal with quirks
authorRichard Levitte <levitte@openssl.org>
Thu, 27 Feb 2020 05:03:52 +0000 (06:03 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 2 Mar 2020 02:16:08 +0000 (03:16 +0100)
commitccceeb48000d5fae95f38d2c4dd02cdd89ca1ee1
tree744db459000d4236d1f730e45557a7a184d833fc
parent15e5b96933e98fe3046ce4e881c42ee07e8fe255
crypto/perlasm/x86_64-xlate.pl: detect GNU as to deal with quirks

It turns out that GNU as and Solaris as don't have compatible ideas on
the .section syntax, so we need to check if we're using GNU as or
another assembler and adapt this .section syntax accordingly.

Fixes #11132

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11191)
crypto/perlasm/x86_64-xlate.pl