From e0332517f900c7947f03c15fd27e7f71ace98629 Mon Sep 17 00:00:00 2001 From: Dragan Mladjenovic Date: Thu, 30 Jan 2020 08:19:49 +0100 Subject: [PATCH] Regenerate configure for 54b3d52 Commit 54b3d52 ("Emit .note.GNU-stack for hard-float linux targets.") was missing generated files. Add them now. gcc/ChangeLog: 2020-01-30 Dragan Mladjenovic * config.in: Regenerated. * configure: Regenerated. --- gcc/ChangeLog | 5 +++++ gcc/config.in | 6 ++++++ gcc/configure | 21 +++++++++++++++++++-- 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c9fbdacd971..a36e73249a3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-01-30 Dragan Mladjenovic + + * config.in: Regenerated. + * configure: Regenerated. + 2020-01-29 Tobias Burnus PR bootstrap/93409 diff --git a/gcc/config.in b/gcc/config.in index ec5c46abdb5..1110492c1bb 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -2185,6 +2185,12 @@ #endif +/* Define if your target C Library properly handles PT_GNU_STACK */ +#ifndef USED_FOR_TARGET +#undef TARGET_LIBC_GNUSTACK +#endif + + /* Define if your target C Library provides the AT_HWCAP value in the TCB */ #ifndef USED_FOR_TARGET #undef TARGET_LIBC_PROVIDES_HWCAP_IN_TCB diff --git a/gcc/configure b/gcc/configure index 490fe6ac8e8..e2c8fc71772 100755 --- a/gcc/configure +++ b/gcc/configure @@ -18957,7 +18957,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 18960 "configure" +#line 18977 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -19063,7 +19063,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 19066 "configure" +#line 19083 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -29800,6 +29800,23 @@ $as_echo "#define TARGET_LIBC_PROVIDES_HWCAP_IN_TCB 1" >>confdefs.h fi +# Check if the target LIBC handles PT_GNU_STACK. +gcc_cv_libc_gnustack=unknown +case "$target" in + mips*-*-linux*) + +if test $glibc_version_major -gt 2 \ + || ( test $glibc_version_major -eq 2 && test $glibc_version_minor -ge 31 ); then : + gcc_cv_libc_gnustack=yes +fi + ;; +esac +if test x$gcc_cv_libc_gnustack = xyes; then + +$as_echo "#define TARGET_LIBC_GNUSTACK 1" >>confdefs.h + +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dl_iterate_phdr in target C library" >&5 $as_echo_n "checking dl_iterate_phdr in target C library... " >&6; } gcc_cv_target_dl_iterate_phdr=unknown -- 2.11.4.GIT