From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1CIcxo-0000JZ-Ff for mharc-grub-devel@gnu.org; Fri, 15 Oct 2004 21:02:28 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CIcxm-0000IG-C4 for grub-devel@gnu.org; Fri, 15 Oct 2004 21:02:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CIcxl-0000HU-Gh for grub-devel@gnu.org; Fri, 15 Oct 2004 21:02:25 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CIcxl-0000HQ-BL for grub-devel@gnu.org; Fri, 15 Oct 2004 21:02:25 -0400 Received: from [207.217.121.183] (helo=pop-a065c05.pas.sa.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CIcq2-0002Wc-7R for grub-devel@gnu.org; Fri, 15 Oct 2004 20:54:26 -0400 Received: from user-0vvde2s.cable.mindspring.com ([63.246.184.92] helo=miracle) by pop-a065c05.pas.sa.earthlink.net with esmtp (Exim 3.33 #1) id 1CIcq1-0007cp-00 for grub-devel@gnu.org; Fri, 15 Oct 2004 17:54:25 -0700 Received: from hollis by miracle with local (Exim 3.36 #1 (Debian)) id 1CIcjq-0003Rm-00 for ; Fri, 15 Oct 2004 19:48:02 -0500 Date: Fri, 15 Oct 2004 19:48:02 -0500 To: grub-devel@gnu.org Message-ID: <20041016004802.GA13232@miracle> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040722i From: Hollis Blanchard Subject: [ppc patch] ASFLAGS and CFLAGS X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Oct 2004 01:02:26 -0000 This patch adds -msoft-float to CFLAGS as discussed previously, and replaces -fno-builtin with -ffreestanding (which according to gcc docs implies -fno-builtin). It also removes 2 flags from ASFLAGS that are meaningless for assembly files. I haven't yet resolved the genmk.rb issues with listing grubof in sbin_UTILITIES. We don't want grubof to be an "IMAGE", as that does an objcopy -O binary. So I think a new class is required in genmk.rb... perhaps called pkgdata_ELF or so. -Hollis 2004-10-15 Hollis Blanchard * conf/powerpc-ieee1275.rmk (COMMON_ASFLAGS): Remove -nostdinc and -fno-builtin. (COMMON_CFLAGS): Remove -D__ASSEMBLY__ and -fno-builtin; add -ffreestanding and -msoft-float. Index: conf/powerpc-ieee1275.rmk =================================================================== RCS file: /cvsroot/grub/grub2/conf/powerpc-ieee1275.rmk,v retrieving revision 1.10 diff -u -p -r1.10 powerpc-ieee1275.rmk --- conf/powerpc-ieee1275.rmk 22 Sep 2004 18:26:16 -0000 1.10 +++ conf/powerpc-ieee1275.rmk 16 Oct 2004 00:08:14 -0000 @@ -1,8 +1,8 @@ # -*- makefile -*- -COMMON_ASFLAGS = -nostdinc -fno-builtin -D__ASSEMBLY__ -COMMON_CFLAGS = -fno-builtin -D__ASSEMBLY__ +COMMON_ASFLAGS = -D__ASSEMBLY__ +COMMON_CFLAGS = -ffreestanding -msoft-float # Images.