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: weak and strong aliases for global data fail


On Wednesday 24 May 2006 09:18, Peter S. Mazinger wrote:
> On Mon, 22 May 2006, Mike Frysinger wrote:
> > On Wednesday 17 May 2006 07:19, Peter S. Mazinger wrote:
> > > Attached tests show a case, when a final binary is OK if
> > > compiled w/ -fPIC (or -fPIE, it does not have to be ET_DYN, but can
> > > be), else it fails if using aliases (both weak and strong) for global
> > > data.
> > >
> > > Sorry for the "big" test cases, I couldn't make them smaller.
> >
> > this is related to this thread on the glibc list:
> > http://sourceware.org/ml/libc-alpha/2006-04/msg00044.html
> > http://sourceware.org/ml/libc-alpha/2006-04/msg00048.html
>
> That seems to only be related to weak aliases, in my case it happens with
> strong aliases as well.

read it again ... the bug happens only with strong data aliases, weak data 
aliases work fine
-mike

Attachment: pgp00000.pgp
Description: PGP signature


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