Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 May 2011 18:47:24 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r221506 - head/sys/boot/i386/boot2
Message-ID:  <201105051847.p45IlOHF011474@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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