From 28162f4dac274a4b635d95fc2442bef888df1d57 Mon Sep 17 00:00:00 2001 From: Will Newton Date: Fri, 9 May 2014 13:53:56 +0100 Subject: ARM: Allow auto-detection of linker relro feature Set values for libc_commonpagesize and libc_relro_required for the ARM port to enable relro by default and suppress a warning at configure time. ChangeLog: 2014-05-09 Will Newton * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize and libc_relro_required for ARM. * sysdeps/arm/preconfigure: Regenerate. --- sysdeps/arm/preconfigure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sysdeps/arm/preconfigure.ac') diff --git a/sysdeps/arm/preconfigure.ac b/sysdeps/arm/preconfigure.ac index 39c86218aa..29a260c30b 100644 --- a/sysdeps/arm/preconfigure.ac +++ b/sysdeps/arm/preconfigure.ac @@ -56,3 +56,11 @@ arm*) machine=arm/$machine esac + +case "$machine" in +arm*) + # Parameters to allow auto-detection of -z relro. + libc_commonpagesize=0x1000 + libc_relro_required=yes + ;; +esac -- cgit 1.4.1