Author: emaste
Date: Thu Nov  1 23:11:47 2018
New Revision: 340036
URL: https://svnweb.freebsd.org/changeset/base/340036

Log:
  Retire CLANG_NO_IAS34
  
  CLANG_NO_IAS34 was introduced in r276696 to allow then-HEAD kernels to
  be built with clang 3.4 in FreeBSD 10.  As FreeBSD 11 and later includes
  a version of Clang with a sufficiently capable integrated assembler we
  do not need the workaround any longer.
  
  Sponsored by: The FreeBSD Foundation

Modified:
  head/sys/conf/Makefile.amd64
  head/sys/conf/Makefile.i386
  head/sys/conf/kern.mk
  head/sys/modules/bios/smapi/Makefile

Modified: head/sys/conf/Makefile.amd64
==============================================================================
--- head/sys/conf/Makefile.amd64        Thu Nov  1 23:10:53 2018        
(r340035)
+++ head/sys/conf/Makefile.amd64        Thu Nov  1 23:11:47 2018        
(r340036)
@@ -37,9 +37,6 @@ INCLUDES+= -I$S/contrib/libfdt
 CFLAGS+=       -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
 .endif
 
-ASM_CFLAGS.acpi_wakecode.S=    ${CLANG_NO_IAS34}
-ASM_CFLAGS.mpboot.S=           ${CLANG_NO_IAS34}
-
 %BEFORE_DEPEND
 
 %OBJS

Modified: head/sys/conf/Makefile.i386
==============================================================================
--- head/sys/conf/Makefile.i386 Thu Nov  1 23:10:53 2018        (r340035)
+++ head/sys/conf/Makefile.i386 Thu Nov  1 23:11:47 2018        (r340036)
@@ -32,9 +32,6 @@ S=    ../../..
 
 INCLUDES+= -I$S/contrib/libfdt
 
-ASM_CFLAGS.acpi_wakecode.S=    ${CLANG_NO_IAS34}
-ASM_CFLAGS.mpboot.s=           ${CLANG_NO_IAS34}
-
 %BEFORE_DEPEND
 
 %OBJS

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk       Thu Nov  1 23:10:53 2018        (r340035)
+++ head/sys/conf/kern.mk       Thu Nov  1 23:11:47 2018        (r340036)
@@ -39,10 +39,6 @@ CWARNEXTRA+= -Wno-address-of-packed-member
 .endif
 
 CLANG_NO_IAS= -no-integrated-as
-.if ${COMPILER_VERSION} < 30500
-# XXX: clang < 3.5 integrated-as doesn't grok .codeNN directives
-CLANG_NO_IAS34= -no-integrated-as
-.endif
 .endif
 
 .if ${COMPILER_TYPE} == "gcc"

Modified: head/sys/modules/bios/smapi/Makefile
==============================================================================
--- head/sys/modules/bios/smapi/Makefile        Thu Nov  1 23:10:53 2018        
(r340035)
+++ head/sys/modules/bios/smapi/Makefile        Thu Nov  1 23:11:47 2018        
(r340036)
@@ -8,5 +8,3 @@ SRCS=   smapi.c smapi_bios.S \
        bus_if.h device_if.h
 
 .include <bsd.kmod.mk>
-
-CFLAGS.smapi_bios.S=   ${CLANG_NO_IAS34}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to