This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: A patch for default version and archive
On Mon, Nov 13, 2000 at 11:31:41PM -0800, Ulrich Drepper wrote:
>
> > It sounds like you have a testcase. But I don't think my linker will
> > successfully link. If you can show me such a testcase, I will withdraw
> > my patch.
>
> You want to make a versioned reference match if there is no symbol
> definition with a version available. I.e., a reference to symbol@ver1
> matches symbol or symbol@ver1. This is what you explained.
You are wrong.
1. My patch doesn't introduce any new matches. Both references to
symbol@ver1 and symbol will match the definition of symbol@@ver1
today.
2. My patch only changes how the linker deals with archives. Before
it only checks "symbol" for "symbol@@ver1", with my patch, it will
also check "symbol@ver1".
Please show me a testcase. I will take a look. Thanks.
H.J.