This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR ld/18720: Properly merge non-default versioned symbol


>> Why should the direct call to foo from the main program bind to the
>> non-default versioned symbol? It seems to me that both calls should
>> bind to the version in the DSO.
>
> It is because foo is defined in main.

But it's not -- only foo@FOO is defined in main. If you think it's
right that main should also have an unversioned definition, then why
should the call from bar() to foo() bind to the one in the DSO? And
which foo() are you expecting the indirect reference to bind to?

-cary


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]