This is the mail archive of the
mailing list for the binutils project.
Re: PACTH: Fix duplicated version (Re: A symbol version bug?)
On Mon, Jul 15, 2002 at 01:08:09AM +0930, Alan Modra wrote:
> On Sun, Jul 14, 2002 at 06:56:20AM -0700, H. J. Lu wrote:
> > On Sat, Jul 13, 2002 at 07:56:44PM -0700, H. J. Lu wrote:
> > > On Fri, Jul 12, 2002 at 10:43:33PM -0700, H. J. Lu wrote:
> > > > On Fri, Jul 12, 2002 at 08:51:03PM -0700, H. J. Lu wrote:
> > > > > I am expecting
> > > > Corretion. I am expecting a fatal error.
> > Second thought. I think it should work.
> That's quite a few changes of mind. :) Can you tell us why you "think
> it should work"? Why doesn't bar defined by
> __asm__(".symver _old_bar,bar@VERS.0");
> not conflict with another bar, set to VERS.0 by a version script?
That is because by using
the intention is the definition of bar with version VERS.0 is _old_bar,
The version script only specifies there is a bar with version VERS.0,
nothing more. As my testcase show, it has its use.