Linker --fix-v4bx problem
Nick Clifton
nickc@redhat.com
Thu Feb 27 16:06:00 GMT 2020
Hi Gary,
> I am using GNU ld version 2.31.1 to target ARMv3 (ARM610/710) processors. Primarily, GCC's libgcc contains "BX LR" instructions which we want changed to "MOV PC,LR" so to be compatible with older processors, but after running the linker with the "--fix-vxb4" directive the BX instructions are still there (we use objdump to disassemble the resultant ELF file to check).
>
> Are we missing something really obvious or is the "--fix-v4bx" directive broken in some way?
It could be either situation. Please can you file a bug report here, and include a test case:
https://sourceware.org/bugzilla/
Thanks.
Cheers
Nick
More information about the Binutils
mailing list