xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cris/c/hellodyn3.c (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
1*4b169a6bSchristos /* Check that invoking ld.so as a program, invoking the main program,
2*4b169a6bSchristos    works.  Jump through a few hoops to avoid reading the host
3*4b169a6bSchristos    ld.so.cache (having no absolute path specified for the executable
4*4b169a6bSchristos    falls back on loading through the same mechanisms as a DSO).
5*4b169a6bSchristos #progos: linux
6*4b169a6bSchristos #sim: --sysroot=$pwd $pwd/lib/ld.so.1 --library-path /
7*4b169a6bSchristos  */
8*4b169a6bSchristos #include "hello.c"
9