diff options
-rw-r--r-- | gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdbserver/linux-low.cc | 7 |
2 files changed, 5 insertions, 7 deletions
diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog index 94e4899..1047697 100644 --- a/gdbserver/ChangeLog +++ b/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2021-05-08 Pedro Alves <pedro@palves.net> + + * linux-low.cc: Don't include sys/personality.h or define + ADDR_NO_RANDOMIZE. + 2021-05-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> * server.cc (handle_v_attach) diff --git a/gdbserver/linux-low.cc b/gdbserver/linux-low.cc index 251a54f..ca3d259 100644 --- a/gdbserver/linux-low.cc +++ b/gdbserver/linux-low.cc @@ -60,13 +60,6 @@ #endif #include "nat/linux-namespaces.h" -#ifdef HAVE_PERSONALITY -# include <sys/personality.h> -# if !HAVE_DECL_ADDR_NO_RANDOMIZE -# define ADDR_NO_RANDOMIZE 0x0040000 -# endif -#endif - #ifndef O_LARGEFILE #define O_LARGEFILE 0 #endif |