linux-mips
[Top] [All Lists]

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

To: Juan Quintela <quintela@mandrakesoft.com>
Subject: Re: [PATCH]: for poor sools with old I2 & 64 bits kernel
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Date: Thu, 19 Dec 2002 22:28:17 +0100
Cc: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>, Ralf Baechle <ralf@linux-mips.org>, mipslist <linux-mips@linux-mips.org>
In-reply-to: <m2wum5hfy2.fsf@demo.mitica>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <m2el8dixmr.fsf@demo.mitica> <20021219210103.GJ449@rembrandt.csv.ica.uni-stuttgart.de> <m2wum5hfy2.fsf@demo.mitica>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4i
Juan Quintela wrote:
> >>>>> "thiemo" == Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> writes:
> 
> thiemo> Juan Quintela wrote:
> >> 
> >> Hi
> >> 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.
> 
> thiemo> Sorry, but I plainly doubt you have tested this.
> 
> thiemo> I tried such a method today, and elf2ecoff failed to work on ELF64 
> files.
> thiemo> Maybe a recent enough objcopy is the better choice for this purpose.
> 
> I tested it and it works :)

How is this possible, given that elf2ecoff uses Elf32_* variables to
process the ELF file? elf2ecoff might be bad enough at error checking
to produce some binary garbage.

> Notice that I am using egcs for MIPS64 as I am not able to compile the
> kernel with gcc-3.2 :(

I don't think this is compiler dependent. :-)


Thiemo

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