converting .so to .o
Ian Lance Taylor
ian@wasabisystems.com
Tue Jul 27 18:16:00 GMT 2004
Clifford Wolf <clifford@clifford.at> writes:
> ist there any tool (or trick, whatever) to convert ELF shared objects to
> relocatables? From what I see in the ELF specs it should be possible..
>
> (.. sure, the code ist still PIC, etc. - it would be nearly impossible to
> change that.)
No, there is no such tool, and in the general case it is not possible.
When a shared library is generated, many relocations in the .o files
will be resolved and will no longer appear in the shared library in
any form.
Ian
More information about the Binutils
mailing list