Skip to content
Snippets Groups Projects
Commit c0e3f76b authored by Avi Kivity's avatar Avi Kivity
Browse files

elf: core provides libpthread.so.0

parent 469aba3b
No related branches found
No related tags found
No related merge requests found
...@@ -337,6 +337,7 @@ void load_elf(std::string name, ::filesystem& fs, void* addr) ...@@ -337,6 +337,7 @@ void load_elf(std::string name, ::filesystem& fs, void* addr)
auto core = new elf::elf_memory_image(prog, reinterpret_cast<void*>(0x200000)); auto core = new elf::elf_memory_image(prog, reinterpret_cast<void*>(0x200000));
prog.add("libc.so.6", core); prog.add("libc.so.6", core);
prog.add("ld-linux-x86-64.so.2", core); prog.add("ld-linux-x86-64.so.2", core);
prog.add("libpthread.so.0", core);
prog.add(name); prog.add(name);
abort(); abort();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment