fix resolving symbols in objects loaded in RTLD_LOCAL mode
[musl] / src / thread / syscall_cp.c