[Top] [All Lists]

[PATCH]: for poor sools with old I2 & 64 bits kernel

To: Ralf Baechle <>, mipslist <>
Subject: [PATCH]: for poor sools with old I2 & 64 bits kernel
From: Juan Quintela <>
Date: 19 Dec 2002 21:04:12 +0100
Original-recipient: rfc822;
        this small patch made possible to compile a 64bit kernel for
        people that have old proms that only accept ecoff.  As usual
        stolen from the 32 bits version.

        The easiest way is creating the file in arch/mips/boot,
        otherwise we need to copy elf2ecoff.c to mips64.

Later, Juan.

Index: arch/mips64/Makefile
RCS file: /home/cvs/linux/arch/mips64/Makefile,v
retrieving revision
diff -u -r1.22.2.20 Makefile
--- arch/mips64/Makefile        26 Nov 2002 11:19:52 -0000
+++ arch/mips64/Makefile        19 Dec 2002 19:48:43 -0000
@@ -255,6 +255,9 @@
        $(OBJCOPY) -O $(64bit-bfd) --remove-section=.reginfo 
--change-addresses=0xa800000080000000 $< $@
+vmlinux.ecoff: vmlinux
+       $(MAKE) -C arch/mips/boot $@
 zImage: vmlinux
        @$(MAKEBOOT) zImage

In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy

<Prev in Thread] Current Thread [Next in Thread>