Hi Steve,
This is request to binutils to fix -wrap to work properly with all
symbol references.
This would be a useful feature but unless you want to implement it
yourself I think that it might be quite a long time before somebody
decides to have a go at it.
I am sorry to be so pessimistic, bu
The ld -wrap option works well for only those symbols whose references
are not in the same translation unit as the symbol's defintion. This is
a serious drawback for users who do not want to restructure their code
to use this option. There are also tools that exist that generate the
-wrap opt