Date: Tue, 25 Nov 2014 21:08:32 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r275075 - projects/clang350-import/sys/boot/pc98/boot2 Message-ID: <201411252108.sAPL8Wsk083791@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Tue Nov 25 21:08:31 2014 New Revision: 275075 URL: https://svnweb.freebsd.org/changeset/base/275075 Log: Similar to r274977, use the correct combination of flags to get the pc98 boot2 below the limit. Modified: projects/clang350-import/sys/boot/pc98/boot2/Makefile Modified: projects/clang350-import/sys/boot/pc98/boot2/Makefile ============================================================================== --- projects/clang350-import/sys/boot/pc98/boot2/Makefile Tue Nov 25 21:03:04 2014 (r275074) +++ projects/clang350-import/sys/boot/pc98/boot2/Makefile Tue Nov 25 21:08:31 2014 (r275075) @@ -19,8 +19,7 @@ BOOT2_UFS?= UFS1_AND_UFS2 #BOOT2_UFS?= UFS2_ONLY #BOOT2_UFS?= UFS1_ONLY -CFLAGS= -Os \ - -fomit-frame-pointer \ +CFLAGS= -fomit-frame-pointer \ -mrtd \ -mregparm=3 \ -D${BOOT2_UFS} \ @@ -37,7 +36,8 @@ CFLAGS= -Os \ -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \ -Winline -CFLAGS.gcc+= -fno-guess-branch-probability \ +CFLAGS.gcc+= -Os \ + -fno-guess-branch-probability \ -fno-unit-at-a-time \ -mno-align-long-strings \ --param max-inline-insns-single=100 @@ -48,7 +48,7 @@ CFLAGS.gcc+= -fno-guess-branch-probabili # Initialize the bi_bios_geom using the BIOS geometry #CFLAGS+= -DGET_BIOSGEOM -CFLAGS.clang+=${CLANG_OPT_SMALL} +CFLAGS.clang+= -Oz ${CLANG_OPT_SMALL} LD_FLAGS=-static -N --gc-sections
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411252108.sAPL8Wsk083791>