2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-01-31 05:59:35 +08:00

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
This commit is contained in:
H.J. Lu 2015-01-12 11:50:13 +00:00 committed by H.J. Lu
parent 03d5d16a66
commit 7b3592ee46
3 changed files with 17 additions and 0 deletions

View File

@ -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

5
gcc/configure vendored
View File

@ -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 \

View File

@ -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 \