This is the mail archive of the binutils@sources.redhat.com 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: Shared library question


>It is very trivial. Just give "foo", a none-default version so that
>ld won't use it, but ld.so will.

Well... It's not so easy.

If I change the version of symbol 'foo', no previously biult application
will run, since they are referencing foo_with_no_version. But any next
application I link against new library could reference
foo_with_some_version, since it's not hided from the linking.

So I think it looks like "ld.so won't use it, but ld will".

But I'm looking for the solution of diametrically opposite task: old apps
still able to see symbol foo, new apps - not. 

Actually the goal of work I do is: remove symbol foo from the library but
keep backward compatibility. At the same time, the library name should stay
unchanged.


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