[PATCH] sparc64: relax tls linking test

David Miller davem@davemloft.net
Thu Mar 10 15:00:00 GMT 2011


From: Mike Frysinger <vapier@gentoo.org>
Date: Thu, 10 Mar 2011 02:34:07 -0500

> The TLS test attempts to link an assembly program, but this implicitly
> pulls in start objects.  This obviously causes problems when attempting
> to cross-compile glibc for the first time since glibc itself provides
> these start files.  So tweak the test to skip these bits which are
> irrelevant to the test at hand.
> 
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> 
> 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
> 
> 	* sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
> 	$LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
> 	to _start.
> 	* sysdeps/sparc/sparc64/elf/configure: Regenerate.

Looks great, applied!



More information about the Libc-alpha mailing list