Rev 2969 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2969 | Rev 2972 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | pcb = (pcb_t *)PCB_ADDRESS; |
69 | pcb = (pcb_t *)PCB_ADDRESS; |
70 | dynamic_parse(pcb->dynamic, 0, &dyn_info); |
70 | dynamic_parse(pcb->dynamic, 0, &dyn_info); |
71 | 71 | ||
72 | printf("Program requested library '%s'\n", dyn_info.needed); |
72 | printf("Program requested library '%s'\n", dyn_info.needed); |
73 | 73 | ||
74 | rc = elf_load_file("/libtest.so.0", &lib_info); |
74 | rc = elf_load_file("/libtest.so.0", 0x20000, &lib_info); |
75 | if (rc < 0) { |
75 | if (rc < 0) { |
76 | printf("failed to load library\n"); |
76 | printf("failed to load library\n"); |
77 | return; |
77 | return; |
78 | } |
78 | } |
79 | 79 |