Does the LD --wrap feature work for library internal references?

Alan Modra amodra@gmail.com
Thu Jan 10 14:05:00 GMT 2019


On Thu, Jan 10, 2019 at 02:48:16PM +0100, Sebastian Huber wrote:
> So this wrapping works only across object files and not
> for references inside an object file.

Yes.  If a reference is to a function defined in the same file you
don't have an undefined symbol for the given function in that file.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list