[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#263057: binutils: Unrecognized opcode: dssall on powerpc



Hi,

Ingo Juergensmann writes:

> http://marc.theaimsgroup.com/?l=linux-kernel&m=109130201415594&w=2 is a
> better URL, because it doesn't trash patches. 

I wouldn't be so sure about this, seeing the following result :)

> Anyway, the result:
> 
> muaddib:/usr/src/kernel-source-2.6.7# patch -p1 < ../ppc-patch
> patching file arch/ppc/Makefile
> Hunk #1 succeeded at 15 with fuzz 2 (offset -7 lines).
> patch unexpectedly ends in middle of line
> Hunk #2 FAILED at 26.
> 1 out of 2 hunks FAILED -- saving rejects to file arch/ppc/Makefile.rej

> Still doesn't work. 

As I said, a working patch is in svn.  Since you seem in need of it, I
will also attach it to this message.

Regards, Jens.

--- kernel-source-2.6.7/arch/ppc/Makefile.orig	2004-06-16 07:18:57.000000000 +0200
+++ kernel-source-2.6.7/arch/ppc/Makefile	2004-08-03 10:18:43.635271781 +0200
@@ -15,14 +15,21 @@
 
 LDFLAGS_vmlinux	:= -Ttext $(KERNELLOAD) -Bstatic
 CPPFLAGS	+= -Iarch/$(ARCH)
-AFLAGS		+= -Iarch/$(ARCH)
+aflags-y	+= -Iarch/$(ARCH)
 cflags-y	+= -Iarch/$(ARCH) -msoft-float -pipe \
 		-ffixed-r2 -Wno-uninitialized -mmultiple -mstring
 CPP		= $(CC) -E $(CFLAGS)
 
+aflags-$(CONFIG_4xx)		+= -m405
 cflags-$(CONFIG_4xx)		+= -Wa,-m405
+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
 
+AFLAGS += $(aflags-y)
 CFLAGS += $(cflags-y)
 
 
-- 
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!

Reply to: