When passing directly to the linker only, the form is: -offload-option,mic,ld,"-z defs" If you are still unable to resolve this issue after correcting the "-z defs" syntax then please upload a reproducer that we can work with. The compiler you noted is older and there is also always...
这个函数实现在 linker.cpp 类内。do_dlopen 函数会调用 find_library 函数返回 soinfo 对象,并最终调用 si->to_handle() 函数返回 handle_。(/bionic/linker/linker.cpp) 2333void*do_dlopen(constchar*name,intflags,constandroid_dlextinfo*extinfo,2334void*caller_addr){2335soinfo*constcaller=find_containing...