From: H.J. Lu Date: Mon, 12 Jan 2015 11:50:13 +0000 (+0000) Subject: Update Linux/x86-64 linker test for PIE with copy reloc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b3592ee4674e8a4277191ffc53df073d2e6db4a;p=gcc.git Update Linux/x86-64 linker test for PIE with copy reloc PR bootstrap/64561 * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker test for PIE with copy reloc. * configure: Regenerated. From-SVN: r219460 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9679ca5bd5a..4cf72062ed7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-01-12 H.J. Lu + + PR bootstrap/64561 + * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker + test for PIE with copy reloc. + * configure: Regenerated. + 2014-01-12 Kyrylo Tkachov * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0 diff --git a/gcc/configure b/gcc/configure index 8670f730cef..1bf43589ae6 100755 --- a/gcc/configure +++ b/gcc/configure @@ -27052,6 +27052,11 @@ EOF main: movl %eax, a_glob(%rip) .size main, .-main + .globl ptr + .section .data.rel,"aw",@progbits + .type ptr, @object +ptr: + .quad a_glob EOF if $gcc_cv_as --64 -o conftest1.o conftest1.s > /dev/null 2>&1 \ && $gcc_cv_ld -shared -melf_x86_64 -o conftest1.so conftest1.o > /dev/null 2>&1 \ diff --git a/gcc/configure.ac b/gcc/configure.ac index d0101415cca..102dab966fd 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -4719,6 +4719,11 @@ EOF main: movl %eax, a_glob(%rip) .size main, .-main + .globl ptr + .section .data.rel,"aw",@progbits + .type ptr, @object +ptr: + .quad a_glob EOF if $gcc_cv_as --64 -o conftest1.o conftest1.s > /dev/null 2>&1 \ && $gcc_cv_ld -shared -melf_x86_64 -o conftest1.so conftest1.o > /dev/null 2>&1 \