Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 2017 17:15:40 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r322696 - in head/sys: conf modules/armv8crypto
Message-ID:  <201708191715.v7JHFeUN030128@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Sat Aug 19 17:15:40 2017
New Revision: 322696
URL: https://svnweb.freebsd.org/changeset/base/322696

Log:
  Use armv8-a in -march, it is accepted by both clang and gcc.
  
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/conf/files.arm64
  head/sys/modules/armv8crypto/Makefile

Modified: head/sys/conf/files.arm64
==============================================================================
--- head/sys/conf/files.arm64	Sat Aug 19 17:00:10 2017	(r322695)
+++ head/sys/conf/files.arm64	Sat Aug 19 17:15:40 2017	(r322696)
@@ -146,7 +146,7 @@ contrib/vchiq/interface/vchiq_arm/vchiq_util.c	optiona
 crypto/armv8/armv8_crypto.c	optional	armv8crypto
 armv8_crypto_wrap.o		optional	armv8crypto		\
 	dependency	"$S/crypto/armv8/armv8_crypto_wrap.c"		\
-	compile-with	"${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} ${WERROR} ${NO_WCAST_QUAL} ${PROF} -march=armv8a+crypto ${.IMPSRC}" \
+	compile-with	"${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} ${WERROR} ${NO_WCAST_QUAL} ${PROF} -march=armv8-a+crypto ${.IMPSRC}" \
 	no-implicit-rule						\
 	clean		"armv8_crypto_wrap.o"
 crypto/blowfish/bf_enc.c	optional	crypto | ipsec | ipsec_support

Modified: head/sys/modules/armv8crypto/Makefile
==============================================================================
--- head/sys/modules/armv8crypto/Makefile	Sat Aug 19 17:00:10 2017	(r322695)
+++ head/sys/modules/armv8crypto/Makefile	Sat Aug 19 17:15:40 2017	(r322696)
@@ -12,7 +12,7 @@ OBJS+=	armv8_crypto_wrap.o
 armv8_crypto_wrap.o: armv8_crypto_wrap.c
 	${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} \
 	    ${WERROR} ${PROF} \
-	     -march=armv8a+crypto ${.IMPSRC}
+	     -march=armv8-a+crypto ${.IMPSRC}
 	${CTFCONVERT_CMD}
 
 armv8_crypto_wrap.o: armv8_crypto.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708191715.v7JHFeUN030128>