lkml.org 
[lkml]   [2003]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [RFC] klibc for 2.5.59 bk
On Tue, Feb 18, 2003 at 10:36:01AM +0100, Stelian Pop wrote:

> > H. Peter Anvin wrote:
> > >However, I can personally vouch for that it's *not* fixed for the main
> > >kernel build as of 2.5.61.
> >
> >
> > Well, if I had a Transmeta-powered laptop or handheld, I'm sure that
> > would be fixed too ;-)
> >
> > Can you give the attached patch a quick once-over? It's obvious enough
> > but I would rather the patch got tested nonetheless.

This is required for 2.4 too. Rediffed and tested, Marcelo please apply.

Stelian.

===== arch/i386/Makefile 1.5 vs edited =====
--- 1.5/arch/i386/Makefile Sun Feb 2 08:50:07 2003
+++ edited/arch/i386/Makefile Tue Feb 18 10:03:19 2003
@@ -61,15 +61,16 @@
endif

ifdef CONFIG_MK6
-CFLAGS += $(shell if $(CC) -march=k6 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=k6"; else echo "-march=i586"; fi)
+CFLAGS += $(call check_gcc,-march=k6,-march=i586)
endif

ifdef CONFIG_MK7
-CFLAGS += $(shell if $(CC) -march=athlon -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=athlon"; else echo "-march=i686 -malign-functions=4"; fi)
+CFLAGS += $(call check_gcc,-march=athlon,-march=i686 -malign-functions=4)
endif

ifdef CONFIG_MCRUSOE
-CFLAGS += -march=i686 -malign-functions=0 -malign-jumps=0 -malign-loops=0
+CFLAGS += -march=i686
+CFLAGS += $(call check_gcc,-falign-functions=0 -falign-jumps=0 -falign-loops=0,-malign-functions=0 -malign-jumps=0 -malign-loops=0)
endif

ifdef CONFIG_MWINCHIPC6
--
Stelian Pop <stelian.pop@fr.alcove.com>
Alcove - http://www.alcove.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.072 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site