diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-06-04 21:41:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-06-04 21:41:25 +0000 |
commit | 35915ec87be2468d9c427ab878faec3b2d81b2bb (patch) | |
tree | 4e8ead45141d3b5b8ec6226d03a067476e79bf16 /configure.in | |
parent | 29d9e2fd2c19b758998a65ade92180d03fed4cae (diff) | |
download | glibc-35915ec87be2468d9c427ab878faec3b2d81b2bb.tar.gz glibc-35915ec87be2468d9c427ab878faec3b2d81b2bb.tar.xz glibc-35915ec87be2468d9c427ab878faec3b2d81b2bb.zip |
Regenerated.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/configure.in b/configure.in index c415f37de7..d241dada60 100644 --- a/configure.in +++ b/configure.in @@ -1313,6 +1313,27 @@ EOF rm -f conftest*]) AC_SUBST(libc_cv_Bgroup) + ASFLAGS_config= + AC_CACHE_CHECK(whether --noexecstack is desirable for .S files, + libc_cv_as_noexecstack, [dnl + cat > conftest.c <<EOF +void foo (void) { } +EOF + if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS + -S -o conftest.s conftest.c 1>&AS_MESSAGE_LOG_FD]) \ + && grep -q .note.GNU-stack conftest.s \ + && AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -Wa,--noexecstack + -c -o conftest.o conftest.s 1>&AS_MESSAGE_LOG_FD]) + then + libc_cv_as_noexecstack=yes + else + libc_cv_as_noexecstack=no + fi + rm -f conftest*]) + if test $libc_cv_as_noexecstack = yes; then + ASFLAGS_config="$ASFLAGS_config -Wa,--noexecstack" + fi + AC_SUBST(ASFLAGS_config) AC_CACHE_CHECK(for -z combreloc, libc_cv_z_combreloc, [dnl cat > conftest.c <<EOF |