diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-06-02 14:49:37 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-06-02 14:49:37 -0700 |
commit | 4a4a4a27ba5c731044d3d3594545e6f06b0ec0e5 (patch) | |
tree | d95ef9a42f8b2455e8380d85980190ab33f4892a /ld/ld.texinfo | |
parent | 0e05cf3a61e1996829359e1c32eedb6820930331 (diff) | |
download | gdb-4a4a4a27ba5c731044d3d3594545e6f06b0ec0e5.zip gdb-4a4a4a27ba5c731044d3d3594545e6f06b0ec0e5.tar.gz gdb-4a4a4a27ba5c731044d3d3594545e6f06b0ec0e5.tar.bz2 |
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.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 9a72cb9..edf1e31 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -1250,14 +1250,12 @@ relocation overflow check if there will be no dynamic relocation overflow at run-time. Supported for x86_64. @item call-nop=prefix-addr -@itemx call-nop=prefix-nop @itemx call-nop=suffix-nop @itemx call-nop=prefix-@var{byte} @itemx call-nop=suffix-@var{byte} Specify the 1-byte @code{NOP} padding when transforming indirect call to a locally defined function, foo, via its GOT slot. @option{call-nop=prefix-addr} generates @code{0x67 call foo}. -@option{call-nop=prefix-nop} generates @code{0x90 call foo}. @option{call-nop=suffix-nop} generates @code{call foo 0x90}. @option{call-nop=prefix-@var{byte}} generates @code{@var{byte} call foo}. @option{call-nop=suffix-@var{byte}} generates @code{call foo @var{byte}}. |