P.S. in: http://sources.redhat.com/ml/binutils/2006-09/msg00222.html H.J. Lu demonstrates how this works for a single object file. However I did not manage to do the same for a shared lib that was created from two object files as described in the original post. Erik.