Is there a way to do this with objcopy or another tool?
, , elfsh .
C, , : .dynamic libA.so - ( ElfW(Dyn)), .d_type == DT_NULL. DT_NEEDED, "" ( entry[n] entry[n+1] ..). , .dynamic DT_NULL , .
, libB.so , libA.so, DT_VERNEED libB.so, . VERNEED, .