Rev 2981 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2981 | Rev 2982 | ||
---|---|---|---|
Line 68... | Line 68... | ||
68 | prog.bias = 0; |
68 | prog.bias = 0; |
69 | prog.dyn.soname = "[program]"; |
69 | prog.dyn.soname = "[program]"; |
70 | 70 | ||
71 | printf("Program requested library '%s'\n", prog.dyn.needed); |
71 | printf("Program requested library '%s'\n", prog.dyn.needed); |
72 | 72 | ||
73 | rc = elf_load_file("/libtest.so.0", 0x20000, &lib_info); |
73 | rc = elf_load_file("/libc.so.0", 0x20000, &lib_info); |
74 | if (rc < 0) { |
74 | if (rc < 0) { |
75 | printf("failed to load library\n"); |
75 | printf("failed to load library\n"); |
76 | return; |
76 | return; |
77 | } |
77 | } |
78 | 78 |