aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraivchenk <alexander.ivchenko@intel.com>2015-07-28 13:57:54 +0300
committerAlexander Ivchenko <alexander.ivchenko@intel.com>2015-07-28 14:00:48 +0300
commit7ed2aac0832375e28ced74b5e62959bce0b0bc88 (patch)
tree8d9bfe35904eb67422a3b8573b1eec86e206be07
parent1d9fec7937f45dde5e04cac966a2d9a12f2fc15a (diff)
downloadtoolchain_gcc-7ed2aac0832375e28ced74b5e62959bce0b0bc88.tar.gz
toolchain_gcc-7ed2aac0832375e28ced74b5e62959bce0b0bc88.tar.bz2
toolchain_gcc-7ed2aac0832375e28ced74b5e62959bce0b0bc88.zip
Stop generating R_*_COPY relocations: Android dynamic loader
does not support them. Change-Id: I0b36e48a9dd0317b65442291752500880b549fb6 Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
-rwxr-xr-xgcc-4.9/gcc/configure2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/configure b/gcc-4.9/gcc/configure
index cb1d3004f..746c37556 100755
--- a/gcc-4.9/gcc/configure
+++ b/gcc-4.9/gcc/configure
@@ -27019,6 +27019,8 @@ if test $gcc_cv_ld_pie = yes ; then
elif test x$gcc_cv_as != x -a x$gcc_cv_ld != x ; then
# Check if linker supports -pie option with copy reloc
case "$target" in
+ *android*)
+ ;;
i?86-*-linux* | x86_64-*-linux*)
cat > conftest1.s <<EOF
.globl a_glob