On 7/13/06, Paul Brook <[EMAIL PROTECTED]> wrote:
The whole point of the -L option is so that it picks up target shared
libraries, eg. in lib and usr/lib. By my reading your patch makes the -L
option do absolutely nothing, which can't be right.

The proper fix is to do the lookups when a file is accesses (possibly with
caching) not pre-scan the whole tree.

Is it possible to use the same cache format as ld.so
(/etc/ld.so.cache)? So a command like

qemu-arm -L /target program

would make qemu look for /target/etc/ld.so.cache as its cache, and a
command like:

qemu-arm -L /target /target/sbin/ldconfig

would update this cache. Unless the cache you are proposing has
different purposes than ld.so's cache?

Regards,
--
Anderson Lizardo


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to