Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2013 13:59:38 GMT
From:      Jonathan Anderson <jonathan@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 222785 for review
Message-ID:  <201303111359.r2BDxc1t018818@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@222785?ac=10

Change 222785 by jonathan@jonathan-on-kent on 2013/03/11 13:58:40

	Pass -code-model=kernel to llc.
	
	This isn't really the Right Place (TM) to do this: we really ought to create a new flag from the kernel build that we pass through to sys.mk. For now, however, whatever lets me build a bootable kernel makes me happy. :)

Affected files ...

.. //depot/projects/ctsrd/tesla/src/share/mk/sys.mk#7 edit

Differences ...

==== //depot/projects/ctsrd/tesla/src/share/mk/sys.mk#7 (text+ko) ====

@@ -280,7 +280,7 @@
 	${FC} ${RFLAGS} ${EFLAGS} ${FFLAGS} -c ${.IMPSRC}
 
 .instrll.instro: tesla.manifest
-	${LLC} -filetype=obj ${.IMPSRC} -o ${.TARGET}
+	${LLC} -filetype=obj -code-model=kernel ${.IMPSRC} -o ${.TARGET}
 
 .manifest.dot:
 	${TESLA} graph ${.IMPSRC} -o ${.TARGET}



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