[PATCH] Fix sparc build

Roland McGrath roland@redhat.com
Thu Oct 14 10:03:00 GMT 2004


> 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?



More information about the Libc-hacker mailing list