summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2013-08-27 18:35:04 +0000
committerrdivacky <rdivacky@FreeBSD.org>2013-08-27 18:35:04 +0000
commit451762afe771b1efde25841c58131b6782cb9520 (patch)
tree35f028fede2617fb6ec5cadf4fea4421f7c4ef57
parent236964c12d6e45e32a2c5c66673acc605ed2e73e (diff)
downloadFreeBSD-src-451762afe771b1efde25841c58131b6782cb9520.zip
FreeBSD-src-451762afe771b1efde25841c58131b6782cb9520.tar.gz
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>
-rw-r--r--sys/conf/Makefile.amd642
-rw-r--r--sys/modules/linux/Makefile4
2 files changed, 0 insertions, 6 deletions
diff --git a/sys/conf/Makefile.amd64 b/sys/conf/Makefile.amd64
index 7b1c164..97f4d3c 100644
--- a/sys/conf/Makefile.amd64
+++ b/sys/conf/Makefile.amd64
@@ -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}}
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 9d8dcf9..7ed6e98 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -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}}
OpenPOWER on IntegriCloud