aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-05-01 14:19:03 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-05-05 08:09:23 -0700
commitd7adef8baf2589aa88ddf4f498e215fbcd81a4f0 (patch)
tree2a576b4969f9bed9456c338fd6b7a5d7d3b5fe8c /ld
parentcbe14bcfada1e6f88811f82260f804167e95ac6f (diff)
downloadgdb-d7adef8baf2589aa88ddf4f498e215fbcd81a4f0.zip
gdb-d7adef8baf2589aa88ddf4f498e215fbcd81a4f0.tar.gz
gdb-d7adef8baf2589aa88ddf4f498e215fbcd81a4f0.tar.bz2
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.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/testsuite/ld-x86-64/pr18591.d2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f1a38c3..44d90d0 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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.
diff --git a/ld/testsuite/ld-x86-64/pr18591.d b/ld/testsuite/ld-x86-64/pr18591.d
index 9f60622..d5c2150 100644
--- a/ld/testsuite/ld-x86-64/pr18591.d
+++ b/ld/testsuite/ld-x86-64/pr18591.d
@@ -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 .*