svn commit: r221506 - head/sys/boot/i386/boot2
Dimitry Andric
dim at FreeBSD.org
Thu May 5 18:47:24 UTC 2011
Author: dim
Date: Thu May 5 18:47:24 2011
New Revision: 221506
URL: http://svn.freebsd.org/changeset/base/221506
Log:
Fine-tune llvm optimization for sys/boot/i386/boot2, which shaves off
some more bytes from the final boot2 image.
Submitted by: rdivacky
Modified:
head/sys/boot/i386/boot2/Makefile
Modified: head/sys/boot/i386/boot2/Makefile
==============================================================================
--- head/sys/boot/i386/boot2/Makefile Thu May 5 17:28:45 2011 (r221505)
+++ head/sys/boot/i386/boot2/Makefile Thu May 5 18:47:24 2011 (r221506)
@@ -43,7 +43,8 @@ CFLAGS= -Os \
-Winline --param max-inline-insns-single=100
.if ${CC:T:Mclang} == "clang"
-CFLAGS+= -mllvm -stack-alignment=8 -mllvm -inline-threshold=3
+CFLAGS+= -mllvm -stack-alignment=8 -mllvm -inline-threshold=3 \
+ -mllvm -enable-load-pre=false
# XXX: clang integrated-as doesn't grok .codeNN directives yet
CFLAGS+= ${.IMPSRC:T:Mboot1.S:C/^.+$/-no-integrated-as/}
.endif
More information about the svn-src-all
mailing list