unit-at-a-time fixes

Andreas Schwab schwab@suse.de
Mon Dec 1 10:07:00 GMT 2003


Andreas Jaeger <aj@suse.de> writes:

> @@ -1371,6 +1372,36 @@ EOF
>  
>    AC_SUBST(libc_cv_fpie)
>  fi
> +
> +if test $elf != yes; then
> +  AC_CACHE_CHECK(for .init and .fini sections, libc_cv_have_initfini,
> +		 [AC_TRY_COMPILE(, [asm (".section .init");
> +				    asm (".section .fini");
> +				    asm ("${libc_cv_dot_text}");],
> +				 libc_cv_have_initfini=yes,
> +				 libc_cv_have_initfini=no)])
> +  AC_SUBST(libc_cv_have_initfini)dnl
> +  if test $libc_cv_have_initfini = yes; then
> +    AC_DEFINE(HAVE_INITFINI)
> +  fi
> +fi

This looks bogus.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Libc-hacker mailing list