Skip to content

Commit b670332

Browse files
committed
gdbsupport: re-generate configure & friends
I get these changes when re-generating the autoconf stuff in gdbsupport, fallouts from 4655f85 ("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
1 parent 8d06918 commit b670332

File tree

4 files changed

+8
-83
lines changed

4 files changed

+8
-83
lines changed

gdbsupport/ChangeLog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2021-05-08 Simon Marchi <[email protected]>
2+
3+
* Makefile.in: Re-generate.
4+
* config.in: Re-generate.
5+
* configure: Re-generate.
6+
17
2021-05-08 Pedro Alves <[email protected]>
28

39
* common.m4 (personality test): Remove.

gdbsupport/Makefile.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Makefile.in generated by automake 1.15.1 from Makefile.am.
22
# @configure_input@
33

4-
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
4+
# Copyright (C) 1994-2017 Free Software Foundation, Inc.
55

66
# This Makefile.in is free software; the Free Software Foundation
77
# gives unlimited permission to copy and/or distribute it,
@@ -15,7 +15,7 @@
1515
@SET_MAKE@
1616

1717
#
18-
# Copyright (C) 2020 Free Software Foundation, Inc.
18+
# Copyright (C) 2020-2021 Free Software Foundation, Inc.
1919
#
2020
# This file is free software; you can redistribute it and/or modify
2121
# it under the terms of the GNU General Public License as published by

gdbsupport/config.in

-7
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828
/* define if the compiler supports basic C++11 syntax */
2929
#undef HAVE_CXX11
3030

31-
/* Define to 1 if you have the declaration of `ADDR_NO_RANDOMIZE', and to 0 if
32-
you don't. */
33-
#undef HAVE_DECL_ADDR_NO_RANDOMIZE
34-
3531
/* Define to 1 if you have the declaration of `asprintf', and to 0 if you
3632
don't. */
3733
#undef HAVE_DECL_ASPRINTF
@@ -142,9 +138,6 @@
142138
/* Define to 1 if you have a working `mmap' system call. */
143139
#undef HAVE_MMAP
144140

145-
/* Define if you support the personality syscall. */
146-
#undef HAVE_PERSONALITY
147-
148141
/* Define to 1 if you have the `pipe' function. */
149142
#undef HAVE_PIPE
150143

gdbsupport/configure

-74
Original file line numberDiff line numberDiff line change
@@ -8144,80 +8144,6 @@ fi
81448144
done
81458145

81468146

8147-
ac_fn_c_check_decl "$LINENO" "ADDR_NO_RANDOMIZE" "ac_cv_have_decl_ADDR_NO_RANDOMIZE" "#include <sys/personality.h>
8148-
"
8149-
if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = xyes; then :
8150-
ac_have_decl=1
8151-
else
8152-
ac_have_decl=0
8153-
fi
8154-
8155-
cat >>confdefs.h <<_ACEOF
8156-
#define HAVE_DECL_ADDR_NO_RANDOMIZE $ac_have_decl
8157-
_ACEOF
8158-
8159-
8160-
if test "$cross_compiling" = yes; then :
8161-
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8162-
/* end confdefs.h. */
8163-
#include <sys/personality.h>
8164-
int
8165-
main ()
8166-
{
8167-
8168-
# if !HAVE_DECL_ADDR_NO_RANDOMIZE
8169-
# define ADDR_NO_RANDOMIZE 0x0040000
8170-
# endif
8171-
/* Test the flag could be set and stays set. */
8172-
personality (personality (0xffffffff) | ADDR_NO_RANDOMIZE);
8173-
if (!(personality (personality (0xffffffff)) & ADDR_NO_RANDOMIZE))
8174-
return 1
8175-
;
8176-
return 0;
8177-
}
8178-
_ACEOF
8179-
if ac_fn_c_try_link "$LINENO"; then :
8180-
have_personality=true
8181-
else
8182-
have_personality=false
8183-
fi
8184-
rm -f core conftest.err conftest.$ac_objext \
8185-
conftest$ac_exeext conftest.$ac_ext
8186-
else
8187-
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8188-
/* end confdefs.h. */
8189-
#include <sys/personality.h>
8190-
int
8191-
main ()
8192-
{
8193-
8194-
# if !HAVE_DECL_ADDR_NO_RANDOMIZE
8195-
# define ADDR_NO_RANDOMIZE 0x0040000
8196-
# endif
8197-
/* Test the flag could be set and stays set. */
8198-
personality (personality (0xffffffff) | ADDR_NO_RANDOMIZE);
8199-
if (!(personality (personality (0xffffffff)) & ADDR_NO_RANDOMIZE))
8200-
return 1
8201-
;
8202-
return 0;
8203-
}
8204-
_ACEOF
8205-
if ac_fn_c_try_run "$LINENO"; then :
8206-
have_personality=true
8207-
else
8208-
have_personality=false
8209-
fi
8210-
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8211-
conftest.$ac_objext conftest.beam conftest.$ac_ext
8212-
fi
8213-
8214-
if $have_personality
8215-
then
8216-
8217-
$as_echo "#define HAVE_PERSONALITY 1" >>confdefs.h
8218-
8219-
fi
8220-
82218147
ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
82228148
if test "x$ac_cv_have_decl_strstr" = xyes; then :
82238149
ac_have_decl=1

0 commit comments

Comments
 (0)