View Single Post
  #2  
Old 01-20-2024, 11:31
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 826
Rept. Given: 47
Rept. Rcvd 50 Times in 31 Posts
Thanks Given: 737
Thanks Rcvd at 1,140 Times in 529 Posts
chants Reputation: 51
So for ELF shared objects (SO), these are now just a simple object, while static libraries are a collection of objects. So information has been lost when objects are combined.

Going from a static library (.a) -> shared object (.so) is of course trivial with gcc or ar (in absence of the -fPIC option).

I think objdump -d to disassemble and then recompile is really the only reasonable route.
Reply With Quote