Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2013 18:35:04 +0000 (UTC)
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r254967 - in head/sys: conf modules/linux
Message-ID:  <201308271835.r7RIZ4A0071165@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rdivacky
Date: Tue Aug 27 18:35:04 2013
New Revision: 254967
URL: http://svnweb.freebsd.org/changeset/base/254967

Log:
  Assemble linux32_locore.s and ia32_sigtramp.S with clang integrated assembler.
  Support for .code32 and .code64 in llvm was implemented more than 2 years ago.
  
  Tested by:      Dan McGregor <dan.mcgregor at usask dot ca>

Modified:
  head/sys/conf/Makefile.amd64
  head/sys/modules/linux/Makefile

Modified: head/sys/conf/Makefile.amd64
==============================================================================
--- head/sys/conf/Makefile.amd64	Tue Aug 27 18:16:50 2013	(r254966)
+++ head/sys/conf/Makefile.amd64	Tue Aug 27 18:35:04 2013	(r254967)
@@ -41,8 +41,6 @@ MKMODULESENV+= MACHINE=amd64
 
 # XXX: clang integrated-as doesn't grok .codeNN directives yet
 ASM_CFLAGS.acpi_wakecode.S=	${CLANG_NO_IAS}
-ASM_CFLAGS.ia32_sigtramp.S=	${CLANG_NO_IAS}
-ASM_CFLAGS.linux32_locore.s=	${CLANG_NO_IAS}
 ASM_CFLAGS.mpboot.S=		${CLANG_NO_IAS}
 ASM_CFLAGS+=			${ASM_CFLAGS.${.IMPSRC:T}}
 

Modified: head/sys/modules/linux/Makefile
==============================================================================
--- head/sys/modules/linux/Makefile	Tue Aug 27 18:16:50 2013	(r254966)
+++ head/sys/modules/linux/Makefile	Tue Aug 27 18:35:04 2013	(r254967)
@@ -64,7 +64,3 @@ CFLAGS+=	-DKTR
 .endif
 
 .include <bsd.kmod.mk>
-
-# XXX: clang integrated-as doesn't grok .codeNN directives yet
-CFLAGS.linux32_locore.s=	${CLANG_NO_IAS}
-CFLAGS+=			${CFLAGS.${.IMPSRC:T}}



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