diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-12 11:50:13 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-12 11:50:13 +0000 |
commit | 32f62b189edd09a0c25366ed233f75de4676794d (patch) | |
tree | 778145e4b23efc36b6fce3032f21386ca676fce6 | |
parent | e62d0db91546e8b07b8f204b28b7a6931d4998af (diff) |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219460 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rwxr-xr-x | gcc/configure | 5 | ||||
-rw-r--r-- | gcc/configure.ac | 5 |
3 files changed, 17 insertions, 0 deletions
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 <hongjiu.lu@intel.com> + + 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 <kyrylo.tkachov@arm.com> * 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 \ |