Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153549739
D16724.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
696 B
Referenced Files
None
Subscribers
None
D16724.diff
View Options
Index: head/stand/defs.mk
===================================================================
--- head/stand/defs.mk
+++ head/stand/defs.mk
@@ -53,7 +53,12 @@
CFLAGS+= -I${SYSDIR}
# Spike the floating point interfaces
CFLAGS+= -Ddouble=jagged-little-pill -Dfloat=floaty-mcfloatface
-
+# Slim down the image. This saves about 15% in size with clang 6 on x86
+# Our most constrained /boot/loader env is BIOS booting on x86, where
+# our text + data + BTX have to fit into 640k below the ISA hole.
+# Experience has shown that problems arise between ~520k to ~530k.
+CFLAGS.clang+= -Oz
+CFLAGS.gcc+= -Os
# GELI Support, with backward compat hooks (mostly)
.if defined(LOADER_NO_GELI_SUPPORT)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 22, 8:12 PM (17 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31997838
Default Alt Text
D16724.diff (696 B)
Attached To
Mode
D16724: Use -Oz/-Os for all loader/stand builds.
Attached
Detach File
Event Timeline
Log In to Comment