From: Denis Zaitsev <zzz@anda.ru>
To: linux-kernel@vger.kernel.org
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
Brian Gerst <bgerst@didntduck.org>,
Arjan van de Ven <arjanv@redhat.com>,
Dave Jones <davej@redhat.com>, Matt Mackall <mpm@selenic.com>
Subject: Re: [2.6.8.1/x86] The kernel is _always_ compiled with -msoft-float
Date: Wed, 15 Sep 2004 03:39:11 +0600 [thread overview]
Message-ID: <20040915033911.B1621@natasha.ward.six> (raw)
In-Reply-To: <20040915021418.A1621@natasha.ward.six>; from zzz@anda.ru on Wed, Sep 15, 2004 at 02:14:18AM +0600
Thank everybody.
Whould it be better to document the trick? At least, this will
prevent the others from suspicions.
--- arch/i386/Makefile.orig 2004-08-14 16:55:10.000000000 +0600
+++ arch/i386/Makefile 2004-09-15 03:37:49.000000000 +0600
@@ -20,6 +20,8 @@ OBJCOPYFLAGS := -O binary -R .note -R .c
LDFLAGS_vmlinux :=
CHECK := $(CHECK) -D__i386__=1
+# The FP must not be used in the kernel code. So, the bogus compiler
+# flag is here to catch such an attempts at the link stage.
CFLAGS += -pipe -msoft-float
# prevent gcc from keeping the stack 16 byte aligned
next prev parent reply other threads:[~2004-09-14 21:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-14 20:14 Denis Zaitsev
2004-09-14 19:36 ` Alan Cox
2004-09-14 20:39 ` Brian Gerst
2004-09-14 20:40 ` Arjan van de Ven
2004-09-14 20:45 ` Dave Jones
2004-09-14 20:48 ` Matt Mackall
2004-09-14 21:39 ` Denis Zaitsev [this message]
2004-09-15 15:35 ` Tonnerre
2004-09-15 15:51 ` Ian Campbell
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=20040915033911.B1621@natasha.ward.six \
--to=zzz@anda.ru \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=arjanv@redhat.com \
--cc=bgerst@didntduck.org \
--cc=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®