From: H.J. Lu Date: Sun, 1 May 2016 21:19:03 +0000 (-0700) Subject: Pass --no-relax to ld in ld-x86-64/pr18591.d X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7adef8baf2589aa88ddf4f498e215fbcd81a4f0;p=binutils-gdb.git 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. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index f1a38c3af89..44d90d0c5b7 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2016-05-05 H.J. Lu + + * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld. + 2016-05-04 H.J. Lu * 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 9f6062295fc..d5c2150fa92 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 .*