There is a dynamic library
elf/so in which I rewrote several functions to the ones I needed
(using the id pro, I wrote my functions in place of the original ones - which are not needed).
Now I need to add a few more functions, but there is no free space left, how can I add a new section of code or increase the existing one?
Objcopy (--add-section) Doesn't fit, as it's a ready-made library with symbols,
Maybe it's possible to parse the library into an Object file and symbols, then add a new section of code and then reconnect Symbols and code?
Or I will have to write a new library with my own code, but I don’t know how to further load it into memory and call the necessary functions from it.