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}}
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to