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: Aliases ...


On Mon, Jan 10, 2005 at 09:14:07AM -0800, H. J. Lu wrote:
> On Sun, Jan 09, 2005 at 10:00:25PM +0100, Andreas Jaeger wrote:
> > 
> > From: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19346
> >  
> > 
> > Description:  [reply] 
> > Last confirmed: 2005-01-09 15:50 
> > Opened: 2005-01-09 10:11 
> > 
> > With current GCC CVS I get lots of warnings when compiling glibc 
> > about aliases to undefined symbols: 
> >  
> > aj@gromit:~/tmp> /opt/gcc/4.0-devel/bin/gcc -O2 -c test.i 
> > test.i:2: warning: ?__libc_errno? aliased to undefined symbol ?errno? 
> > aj@gromit:~/tmp> nm test.o 
> > 0000000000000004 C errno 
> >  
> 
> See
> 
> http://sources.redhat.com/ml/libc-alpha/2004-01/msg00232.html
> 
> Should I apply
> 
> http://sources.redhat.com/ml/binutils/2004-02/msg00066.html
> 
> I got
> 
> [hjl@gnu-10 tmp]$ /usr/gcc-4.0/bin/gcc -O2 x.c
> x.c:2: warning: \uffff\uffff\uffff__libc_errno\uffff\uffff\uffff
> aliased to undefined symbol \uffff\uffff\ufffferrno\uffff\uffff\uffff
> /tmp/cczKnuV0.s: Assembler messages:
> /tmp/cczKnuV0.s:6: Error: `__libc_errno' can't be equated to common
> symbol

I checked in my gas patch. The new assembler won't allow it anymore.


H.J.


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