Pass --no-relax to ld in ld-x86-64/pr18591.d

Pass --no-relax to ld so that GOTPCREL relocation will be kept.

	* testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
This commit is contained in:
H.J. Lu 2016-05-01 14:19:03 -07:00
parent cbe14bcfad
commit d7adef8baf
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.

View File

@ -1,5 +1,5 @@
#as: --64
#ld: -melf_x86_64 -shared -z max-page-size=0x200000
#ld: -melf_x86_64 -shared -z max-page-size=0x200000 --no-relax
#objdump: -dw
.*: +file format .*