Alpha hwcaps

Falk Hueffner falk.hueffner@student.uni-tuebingen.de
Sat Sep 21 08:40:00 GMT 2002


Hi,

it looks like there *is* already some support in the loader for this:

% LD_LIBRARY_PATH=/lib strace true 2>&1 
execve("/bin/true", ["true"], [/* 36 vars */]) = 0
uname({sys="Linux", node="juist", ...}) = 0
brk(0)                                  = 0x120013668
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2000001e000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/ev5/libc.so.6.1", O_RDONLY)  = -1 ENOENT (No such file or directory)
stat("/lib/ev5", 0x11fffe688)           = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6.1", O_RDONLY)      = 3
[...]

However, even after searching for about half an hour, I could not find
the place in the code where it gets probed and the path extended...
can anybody give me a hint?

-- 
	Falk



More information about the Libc-alpha mailing list