This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: [PATCH] Fix sparc build


On Thu, Oct 14, 2004 at 03:03:06AM -0700, Roland McGrath wrote:
> > 3) on SPARC, the sequence to set up load address of rtld_errno is IMHO too
> >    long to be included in INLINE_SYSCALL, so this patch makes
> >    __errno_location () hidden within ld.so if RTLD_PRIVATE_ERRNO and
> >    return &rtld_errno.
> 
> If you're going to have a call, why not just have it be
> 
> 	call cerror
> 	mov %o7,%g1
> 
> or suchlike, and have sysdep.S define one spot that does it all?

Ok, sure, will work on it.  Still, making __errno_location available IMHO
doesn't hurt (and is not linked in on arches that don't needed it).

	Jakub


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