blob: 8ae3a4f1c16b406d6924fcaeea480037a2d7b175 (
plain)
1
2
3
4
5
6
7
8
9
|
/* 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).
#notarget: *-*-elf
#dynamic:
#sim: --sysroot=@exedir@ @exedir@/lib/ld.so.1 --library-path /
*/
#include "hello.c"
|