mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
4a4a4a27ba
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.
5 lines
144 B
Makefile
5 lines
144 B
Makefile
#source: call1.s
|
|
#as: --64 -mrelax-relocations=yes
|
|
#ld: -melf_x86_64 -z call-nop=prefix-nop
|
|
#error: invalid number for -z call-nop=prefix-: nop
|