From: Hollis Blanchard <hollis@penguinppc.org>
To: grub-devel@gnu.org
Subject: [ppc patch] ASFLAGS and CFLAGS
Date: Fri, 15 Oct 2004 19:48:02 -0500 [thread overview]
Message-ID: <20041016004802.GA13232@miracle> (raw)
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 <hollis@penguinppc.org>
* 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.
next reply other threads:[~2004-10-16 1:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-16 0:48 Hollis Blanchard [this message]
2004-10-16 9:34 ` [ppc patch] ASFLAGS and CFLAGS Marco Gerards
2004-10-16 15:07 ` Hollis Blanchard
2004-10-17 16:36 ` Marco Gerards
2004-10-17 20:30 ` Yoshinori K. Okuji
2004-10-17 21:41 ` Hollis Blanchard
2004-10-17 21:52 ` Yoshinori K. Okuji
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041016004802.GA13232@miracle \
--to=hollis@penguinppc.org \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.