This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Linker --fix-v4bx problem
- From: Nick Clifton <nickc at redhat dot com>
- To: Gary Partis <Gary at partis dot co dot uk>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Thu, 27 Feb 2020 16:06:35 +0000
- Subject: Re: Linker --fix-v4bx problem
- References: <6773ED2626D769428AEACF6C2B03437185F2671E@SERVER.partis.local>
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