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] | |
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."
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |