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
142 B
Makefile
5 lines
142 B
Makefile
#source: call3.s
|
|
#as: --32 -mrelax-relocations=yes
|
|
#ld: -melf_i386 -z call-nop=prefix-nop
|
|
#error: invalid number for -z call-nop=prefix-: nop
|