Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 2017 19:16:02 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r321052 - stable/11/sys/dev/psci
Message-ID:  <201707161916.v6GJG21K013475@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Sun Jul 16 19:16:02 2017
New Revision: 321052
URL: https://svnweb.freebsd.org/changeset/base/321052

Log:
  MFC r320065: arm: add .arch_extension sec for smc instruction
  
  Clang 4.0 accepts the smc instruction with or without specifying
  .arch_extension sec, but Clang 5.0 produces an error without it.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/11/sys/dev/psci/psci_arm.S
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/psci/psci_arm.S
==============================================================================
--- stable/11/sys/dev/psci/psci_arm.S	Sun Jul 16 17:36:23 2017	(r321051)
+++ stable/11/sys/dev/psci/psci_arm.S	Sun Jul 16 19:16:02 2017	(r321052)
@@ -28,7 +28,8 @@
 #include <machine/asm.h>
 __FBSDID("$FreeBSD$");
 
-.arch_extension virt /* For hvc */
+.arch_extension sec	/* For smc */
+.arch_extension virt	/* For hvc */
 
 /*
  * int psci_hvc_despatch(register_t psci_fnid, register_t...)



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