svn commit: trunk/uClibc/libc/sysdeps/linux/cris

Peter Kjellerstedt peter.kjellerstedt at axis.com
Fri Feb 24 12:33:29 UTC 2006


> -----Original Message-----
> From: Peter S. Mazinger [mailto:ps.m at gmx.net] 
> Sent: Friday, February 24, 2006 13:29
> To: Peter Kjellerstedt
> Cc: uclibc at uclibc.org
> Subject: RE: svn commit: trunk/uClibc/libc/sysdeps/linux/cris
> 
> On Fri, 24 Feb 2006, Peter Kjellerstedt wrote:
> 
> > > -----Original Message-----
> > > From: uclibc-bounces at uclibc.org 
> > > [mailto:uclibc-bounces at uclibc.org] On Behalf Of Peter S. Mazinger
> > > Sent: Thursday, February 23, 2006 18:40
> > > To: uclibc at uclibc.org
> > > Subject: Re: svn commit: trunk/uClibc/libc/sysdeps/linux/cris
> > > 
> > > On Thu, 23 Feb 2006 pkj at uclibc.org wrote:
> > > 
> > > > Author: pkj
> > > > Date: 2006-02-23 09:13:52 -0800 (Thu, 23 Feb 2006)
> > > > New Revision: 14244
> > > > 
> > > > Log:
> > > > A little clean up.
> > > > 
> > > > 
> > > > Modified:
> > > >    trunk/uClibc/libc/sysdeps/linux/cris/sysdep.h
> > > > 
> > > > 
> > > > Changeset:
> > > > Modified: trunk/uClibc/libc/sysdeps/linux/cris/sysdep.h
> > > > 
> ===================================================================
> > > > --- trunk/uClibc/libc/sysdeps/linux/cris/sysdep.h	
> > > 2006-02-23 16:04:10 UTC (rev 14243)
> > > > +++ trunk/uClibc/libc/sysdeps/linux/cris/sysdep.h	
> > > 2006-02-23 17:13:52 UTC (rev 14244)
> > > ...
> > > >    UNDOARGS_return_##args
> > > >  
> > > >  #define PSEUDO_END(name) \
> > > > -0:                          @ \
> > > > -  SETUP_PIC                     @ \
> > > > -  PLTJUMP (__syscall_error)               @ \
> > > > +0:							@ \
> > > > +  SETUP_PIC						@ \
> > > > +  PLTJUMP (__syscall_error)				@ \
> > > >    END (name)
> > > 
> > > for other archs __syscall_error is hidden to save a jump 
> > > relocation (see __syscall_error.c).
> > > 
> > > Peter
> > 
> > I do not know enough of the intricacies with PIC code to know where
> > to start if I was to change this (it is taken from our glibc port).
> > And also, the compiler we use is based on gcc 3.2.x which does not
> > support hidden attributes anyway.
> > 
> > //Peter
> 
> I haven't checked if the current build system works w/ gcc-3.2.x, 
> wondering if attribute_hidden/hidden_proto|def|weak/HIDDEN_JUMPTARGET 
> do work as expected, please report back, if you get some undefs 
> about __GI_x (x being some function)
> 
> Thanks, Peter

They work, as what isn't supported expands to nothing.

//Peter



More information about the uClibc mailing list