From owner-svn-src-projects@FreeBSD.ORG Tue Nov 25 21:08:32 2014 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8AF45571; Tue, 25 Nov 2014 21:08:32 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 77A6E84E; Tue, 25 Nov 2014 21:08:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sAPL8WFr083793; Tue, 25 Nov 2014 21:08:32 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sAPL8Wsk083791; Tue, 25 Nov 2014 21:08:32 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201411252108.sAPL8Wsk083791@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Tue, 25 Nov 2014 21:08:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r275075 - projects/clang350-import/sys/boot/pc98/boot2 X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2014 21:08:32 -0000 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