linux-mips-fnet
[Top] [All Lists]

Re: ld -N and elf2ecoff oddities

To: "Gleb O. Raiko" <raiko@niisi.msk.ru>
Subject: Re: ld -N and elf2ecoff oddities
From: Ralf Baechle <ralf@uni-koblenz.de>
Date: Sat, 14 Aug 1999 00:40:44 +0200
Cc: linux-mips@fnet.fr
In-reply-to: <37B28036.9D706C66@niisi.msk.ru>; from Gleb O. Raiko on Thu, Aug 12, 1999 at 12:05:10PM +0400
References: <37B28036.9D706C66@niisi.msk.ru>
On Thu, Aug 12, 1999 at 12:05:10PM +0400, Gleb O. Raiko wrote:

> While trying to load ecoff kernel on a mips box I found that elf2ecoff
> produces wrong image. The problem is elf2ecoff determines first writable
> segment as data and if the elf image is linked with -N option this
> assumption is wrrong. Has somebody fixed the problem yet ? If no, any
> plans ?

The linker already produces a bad ELF file when using -N, so converting
junk ELF results in junk ECOFF - as expected ...

Stay tuned for my ld fixes ...

  Ralf

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