configure: Check for static PIE support
commit374cef32ac36d956f75ccc6416872498bbe66e82
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 20 Jan 2021 12:26:31 +0000 (20 12:26 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 21 Jan 2021 15:54:50 +0000 (21 15:54 +0000)
treeb18b4acae8e2eb2e0ded3377e609e46aad955a5a
parentbfe04789a8d9014cf3177137651f8f93dd4a00ca
configure: Check for static PIE support

Add SUPPORT_STATIC_PIE that targets can define if they support
static PIE. This requires PI_STATIC_AND_HIDDEN support and various
linker features as described in

  commit 9d7a3741c9e59eba87fb3ca6b9f979befce07826
  Add --enable-static-pie configure option to build static PIE [BZ #19574]

Currently defined on x86_64, i386 and aarch64 where static PIE is
known to work.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
config.h.in
configure
configure.ac
sysdeps/aarch64/configure
sysdeps/aarch64/configure.ac
sysdeps/i386/configure
sysdeps/i386/configure.ac
sysdeps/x86_64/configure
sysdeps/x86_64/configure.ac