[Top] [All Lists]

Re: [LV] FYI: Mopd ELF support

To: Dave Airlie <>
Subject: Re: [LV] FYI: Mopd ELF support
From: "Maciej W. Rozycki" <>
Date: Thu, 8 Nov 2001 14:06:05 +0100 (MET)
In-reply-to: <Pine.LNX.4.32.0111062247250.14556-100000@skynet>
Organization: Technical University of Gdansk
On Tue, 6 Nov 2001, Dave Airlie wrote:

> >  Since I'll be away till Tuesday, expect an update in the middle of the
> > next week.  I'm assuming ELF loading works, right?
> >
> not sure the VAX is handling this too well..
> if I boot the vmlinux ELF file our build system produces it won't boot it
> but I think this is due to our vmlinux file being linked for running with
> VM switched on, and the mop loads it into memory that doesn't exist..

 Do you set segments' p_paddr (physical address) correctly?  The current
version of ELF support uses p_vaddr (virtual address) for simplicity, as
the ELF specification mandates loadable program's segments to be ordered
by an ascending value of their p_vaddr.  I'll fix the program to use
p_paddr instead.  The difference is insignificant for the DECstation since
its firmware uses virtual addresses -- MIPS never exposes physical
addresses to a program (well, almost, but that's irrelevant here).


+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

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