This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
***UNCHECKED*** RE: Linker --fix-v4bx problem
- From: Gary Partis <Gary at partis dot co dot uk>
- To: Nick Clifton <nickc at redhat dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Sat, 29 Feb 2020 19:28:59 +0000
- Subject: ***UNCHECKED*** RE: Linker --fix-v4bx problem
- References: <6773ED2626D769428AEACF6C2B03437185F2671E@SERVER.partis.local> <4315be13-43cf-970f-8e07-08d0a34c15b1@redhat.com>
Hi Nick
Bug 25616 Submitted.
Many thanks,
Gary
-----Original Message-----
From: Nick Clifton [mailto:nickc@redhat.com]
Sent: 27 February 2020 16:07
To: Gary Partis; binutils@sourceware.org
Subject: Re: Linker --fix-v4bx problem
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