aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/configure
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-05-08 21:27:49 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-05-08 21:27:49 -0400
commitb6703327bb8937734592bb6256373e6939f385c4 (patch)
tree635efee053a3cd3674a3922076c9d296f9960337 /gdbsupport/configure
parent8d06918ff58452cb17d1bdfbde7187f45933f42e (diff)
downloadbinutils-b6703327bb8937734592bb6256373e6939f385c4.zip
binutils-b6703327bb8937734592bb6256373e6939f385c4.tar.gz
binutils-b6703327bb8937734592bb6256373e6939f385c4.tar.bz2
gdbsupport: re-generate configure & friends
I get these changes when re-generating the autoconf stuff in gdbsupport, fallouts from 4655f8509fd4 ("Don't run personality syscall at configure time; don't check it at all"). gdbsupport/ChangeLog: * Makefile.in: Re-generate. * config.in: Re-generate. * configure: Re-generate. Change-Id: Ie1876ee58d6f4f1cf25fa14900eecf4c85a744c1
Diffstat (limited to 'gdbsupport/configure')
-rwxr-xr-xgdbsupport/configure74
1 files changed, 0 insertions, 74 deletions
diff --git a/gdbsupport/configure b/gdbsupport/configure
index 9c5e59c..60643c8 100755
--- a/gdbsupport/configure
+++ b/gdbsupport/configure
@@ -8144,80 +8144,6 @@ fi
done
- ac_fn_c_check_decl "$LINENO" "ADDR_NO_RANDOMIZE" "ac_cv_have_decl_ADDR_NO_RANDOMIZE" "#include <sys/personality.h>
-"
-if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = xyes; then :
- ac_have_decl=1
-else
- ac_have_decl=0
-fi
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_ADDR_NO_RANDOMIZE $ac_have_decl
-_ACEOF
-
-
- if test "$cross_compiling" = yes; then :
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <sys/personality.h>
-int
-main ()
-{
-
- # if !HAVE_DECL_ADDR_NO_RANDOMIZE
- # define ADDR_NO_RANDOMIZE 0x0040000
- # endif
- /* Test the flag could be set and stays set. */
- personality (personality (0xffffffff) | ADDR_NO_RANDOMIZE);
- if (!(personality (personality (0xffffffff)) & ADDR_NO_RANDOMIZE))
- return 1
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- have_personality=true
-else
- have_personality=false
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <sys/personality.h>
-int
-main ()
-{
-
- # if !HAVE_DECL_ADDR_NO_RANDOMIZE
- # define ADDR_NO_RANDOMIZE 0x0040000
- # endif
- /* Test the flag could be set and stays set. */
- personality (personality (0xffffffff) | ADDR_NO_RANDOMIZE);
- if (!(personality (personality (0xffffffff)) & ADDR_NO_RANDOMIZE))
- return 1
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
- have_personality=true
-else
- have_personality=false
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
- if $have_personality
- then
-
-$as_echo "#define HAVE_PERSONALITY 1" >>confdefs.h
-
- fi
-
ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
if test "x$ac_cv_have_decl_strstr" = xyes; then :
ac_have_decl=1