From 7ed2aac0832375e28ced74b5e62959bce0b0bc88 Mon Sep 17 00:00:00 2001 From: aivchenk Date: Tue, 28 Jul 2015 13:57:54 +0300 Subject: Stop generating R_*_COPY relocations: Android dynamic loader does not support them. Change-Id: I0b36e48a9dd0317b65442291752500880b549fb6 Signed-off-by: Alexander Ivchenko --- gcc-4.9/gcc/configure | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc-4.9/gcc') 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 <