blob: ff3ca70f8d546a3a107bf2050e12e21815f62b45 (
plain)
1
2
3
4
5
6
7
8
|
/* Check that invoking ld.so as a program, invoking the main program,
works. Jump through a few hoops to avoid reading the host
ld.so.cache (having no absolute path specified for the executable
falls back on loading through the same mechanisms as a DSO).
#progos: linux
#sim: --sysroot=$pwd $pwd/lib/ld.so.1 --library-path /
*/
#include "hello.c"
|