Re: mmap() versus read() and embedded systems.

Kenneth Albanowski (kjahds@kjahds.com)
Wed, 18 Mar 1998 10:34:33 -0500 (EST)


On Thu, 12 Mar 1998, Etienne Lorrain wrote:

> Just my $0.02,
>
> Even if you have memory mapped flash as a file system in an
> embedded environment, with romfs, the main problem is the
> executable loader: it has to modify (resolve address) of the code
> you are executing, so this code has to be copyed first in RAM.
> I am not sure that using static library (instead of ELF) solves
> completely this problem...

It's unclear whether ELF will be useful for the uClinux project (it's
relatively complicated, so we're currently using a custom -- and trivial
binary format). In any case, it looks like we may be able to use a few
trick to get located code (code that does not have to be PIC, since it is
linked to the exact address in the target at which it will run.)

-- 
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu