x86: Remove linker option: -z prefix-nop
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 2 Jun 2017 21:49:37 +0000 (14:49 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 2 Jun 2017 21:49:37 +0000 (14:49 -0700)
commit4a4a4a27ba5c731044d3d3594545e6f06b0ec0e5
treed95ef9a42f8b2455e8380d85980190ab33f4892a
parent0e05cf3a61e1996829359e1c32eedb6820930331
x86: Remove linker option: -z prefix-nop

Since it is incorrect to convert

bnd call *foo@GOTPCREL(%rip)

to

bnd nop
call foo

this patch removes the "-z prefix-nop" option from x86 linker.

* emulparams/call_nop.sh: Remove -z prefix-nop.
* ld.texinfo: Likewise.
* testsuite/ld-i386/call3c.d: Check for linker error.
* testsuite/ld-x86-64/call1c.d: Likewise.
ld/ChangeLog
ld/emulparams/call_nop.sh
ld/ld.texinfo
ld/testsuite/ld-i386/call3c.d
ld/testsuite/ld-x86-64/call1c.d