lkml.org 
[lkml]   [1998]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mmap() versus read() and embedded systems.
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

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.099 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site