binutils-gdb/sim/testsuite/cris/c/hellodyn3.c

9 lines
358 B
C
Raw Normal View History

/* 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"