All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olh@suse.de>
To: Tom Rini <trini@kernel.crashing.org>
Cc: Giuliano Pochini <pochini@shiny.it>,
	kumar.gala@freescale.com, tnt@246tNt.com,
	linuxppc-dev@lists.linuxppc.org, linux-kernel@vger.kernel.org,
	akpm@osdl.org
Subject: Re: [PATCH][PPC32] Makefile cleanups and gcc-3.4+binutils-2.14 c
Date: Thu, 5 Aug 2004 20:00:25 +0200	[thread overview]
Message-ID: <20040805180025.GA20390@suse.de> (raw)
In-Reply-To: <20040805165410.GA555@smtp.west.cox.net>

 On Thu, Aug 05, Tom Rini wrote:

> On Thu, Aug 05, 2004 at 04:12:57PM +0200, Olaf Hering wrote:
> >  On Fri, Jul 30, Tom Rini wrote:
> > 
> > > 
> > > +aflags-$(CONFIG_PPC64BRIDGE)	+= -mppc64bridge
> > 
> > this should be -Wa,-mppc64bridge for some reasons.
> 
> That, er, doesn't make sense.  The assembler needs -Wa,?

This makes g5 32bit happy. aflags- is used with 'gcc $options', not for as
I'm not sure if the other aflags- should stay.

g5 has altivec, some include files use dsall in asm(). 
head.S will not compile without -maltivevec

diff -purNX /tmp/kernel_exclude.txt linux-2.6.8-rc3.orig/arch/ppc/Makefile linux-2.6.8-rc3/arch/ppc/Makefile
--- linux-2.6.8-rc3.orig/arch/ppc/Makefile	2004-08-05 17:35:10.636631000 +0000
+++ linux-2.6.8-rc3/arch/ppc/Makefile	2004-08-05 17:51:09.847355812 +0000
@@ -39,8 +39,8 @@ aflags-$(CONFIG_6xx)		+= -maltivec
 cflags-$(CONFIG_6xx)		+= -Wa,-maltivec
 aflags-$(CONFIG_E500)		+= -me500
 cflags-$(CONFIG_E500)		+= -Wa,-me500
-aflags-$(CONFIG_PPC64BRIDGE)	+= -mppc64bridge
 cflags-$(CONFIG_PPC64BRIDGE)	+= -Wa,-mppc64bridge
+cflags-$(CONFIG_POWER4)		+= -Wa,-maltivec
 
 AFLAGS += $(aflags-y)
 CFLAGS += $(cflags-y)
diff -purNX /tmp/kernel_exclude.txt linux-2.6.8-rc3.orig/arch/ppc/kernel/Makefile linux-2.6.8-rc3/arch/ppc/kernel/Makefile
--- linux-2.6.8-rc3.orig/arch/ppc/kernel/Makefile	2004-08-05 17:35:10.665626000 +0000
+++ linux-2.6.8-rc3/arch/ppc/kernel/Makefile	2004-08-05 17:50:19.532770245 +0000
@@ -5,6 +5,9 @@
 ifdef CONFIG_PPC64BRIDGE
 EXTRA_AFLAGS		:= -Wa,-mppc64bridge
 endif
+ifdef CONFIG_POWER4
+EXTRA_AFLAGS		:= -Wa,-maltivec
+endif
 ifdef CONFIG_4xx
 EXTRA_AFLAGS		:= -Wa,-m405
 endif

-- 
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG

  parent reply	other threads:[~2004-08-05 18:05 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-28 15:46 [PATCH][PPC32] Makefile cleanups and gcc-3.4+binutils-2.14 check Tom Rini
2004-07-28 22:00 ` Andrew Morton
2004-07-28 22:07   ` Tom Rini
2004-07-28 22:51     ` Andrew Morton
2004-07-29 15:04       ` Sylvain Munaut
2004-07-29  8:05     ` [PATCH][PPC32] Makefile cleanups and gcc-3.4+binutils-2.14 c Giuliano Pochini
2004-07-29 14:43       ` Tom Rini
2004-07-30 18:59         ` Giuliano Pochini
2004-07-30 19:07           ` Tom Rini
2004-07-30 20:48             ` Giuliano Pochini
2004-07-30 21:03               ` Tom Rini
2004-07-31 12:53                 ` Giuliano Pochini
2004-08-02 15:43                   ` Tom Rini
2004-08-04 10:22                 ` Wolfram Quester
2004-08-04 10:41                 ` Guido Guenther
2004-08-04 12:37                   ` Guido Guenther
2004-08-05 14:12                 ` Olaf Hering
2004-08-05 16:54                   ` Tom Rini
2004-08-05 17:00                     ` Olaf Hering
2004-08-05 17:20                       ` Tom Rini
2004-08-05 17:39                         ` Olaf Hering
2004-08-05 18:03                           ` Tom Rini
2004-08-05 18:00                     ` Olaf Hering [this message]
2004-08-05 18:14                       ` Tom Rini
2004-08-05 19:04                         ` Sam Ravnborg
2004-08-05 21:03                         ` Matt Porter
2004-08-06 15:32                         ` Olaf Hering
     [not found]                         ` <hhacx8hirb.fsf@alsvidh.mathematik.uni-muenchen.de>
2004-08-06 15:38                           ` [PATCH] ppc32: Fix building of certain CPU types (Was: Re: [PATCH][PPC32] Makefile cleanups and gcc-3.4+binutils-2.14) Tom Rini
2004-08-02  7:45             ` [PATCH][PPC32] Makefile cleanups and gcc-3.4+binutils-2.14 c Olaf Hering

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=20040805180025.GA20390@suse.de \
    --to=olh@suse.de \
    --cc=akpm@osdl.org \
    --cc=kumar.gala@freescale.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=pochini@shiny.it \
    --cc=tnt@246tNt.com \
    --cc=trini@kernel.crashing.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.