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  <will.newton@linaro.org>

	* sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
	and libc_relro_required for ARM.
	* sysdeps/arm/preconfigure: Regenerate.
This commit is contained in:
Will Newton 2014-05-09 13:53:56 +01:00
parent 5a414ff70c
commit 28162f4dac
3 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2014-05-09 Will Newton <will.newton@linaro.org>
* sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
and libc_relro_required for ARM.
* sysdeps/arm/preconfigure: Regenerate.
2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
Stefan Liebler <stli@linux.vnet.ibm.com>

View File

@ -61,3 +61,11 @@ $as_echo "$as_me: WARNING: arm/preconfigure: Did not find ARM architecture type;
machine=arm/$machine
esac
case "$machine" in
arm*)
# Parameters to allow auto-detection of -z relro.
libc_commonpagesize=0x1000
libc_relro_required=yes
;;
esac

View File

@ -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