This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

***UNCHECKED*** RE: Linker --fix-v4bx problem


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]