]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
skein_block_asm.S: use #ifdef not .ifdef, for Clang IAS
authorEd Maste <emaste@FreeBSD.org>
Fri, 5 Jun 2020 18:37:04 +0000 (18:37 +0000)
committerEd Maste <emaste@FreeBSD.org>
Fri, 5 Jun 2020 18:37:04 +0000 (18:37 +0000)
commit16c0b6eef9c785412e677fd7fd109c99612b2d05
treee4aa1c0fee4353a7502aaae5a54c65f8859988a2
parent007278ebf0629df5be0f1828232e21d50be7ea2e
skein_block_asm.S: use #ifdef not .ifdef, for Clang IAS

Clang IAS does not support the --defsym argument, and

.ifndef SKEIN_USE_ASM

gets turned into

.ifndef 1792

by the preprocessor, which results in

error: expected identifier after '.ifdef'
.ifndef 1792
        ^

Use #ifdef instead, which still works with GNU as.

Reviewed by: cem
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D25154
sys/crypto/skein/amd64/skein_block_asm.s