_dl_runtime_resolve,_dl_lookup_symbol_x ,dl_new_hash functionality doubt
i am using a static library which is actually calling application constructor. I am building the application with this library statically. this library is having many calls to the inbuilt function like memcpy, strcpy etc. when application calls strcpy memcpy etc the time taken by my library is more. it is worse in the case of strcpy. strcpy if it is having a defnition in my library or if it is not having a defnition in my library if i am compiling with the library and application statically the time taken is more. when i checked in the GDB when a strcpy call is comming first time in the application it calls these functions and these functions will give the libc.so.6 function address for strcpy. if i am giving a static string inside the strcpy funtion, then this functions will resolve it into memcpy and calls memcpy. my doubht is like when i am linking with my library actually these functions will some how give my function address to the application. so inorder to increase the speed i am thinking is there any posibility to configure these function so that it finds my library fast.