* Linker --fix-v4bx problem
@ 2020-02-09 16:34 Gary Partis
2020-02-27 16:06 ` Nick Clifton
0 siblings, 1 reply; 3+ messages in thread
From: Gary Partis @ 2020-02-09 16:34 UTC (permalink / raw)
To: binutils
Hello
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?
Thanks in advance.
Kind regards
Gary Partis
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Linker --fix-v4bx problem
2020-02-09 16:34 Linker --fix-v4bx problem Gary Partis
@ 2020-02-27 16:06 ` Nick Clifton
2020-02-29 19:39 ` ***UNCHECKED*** " Gary Partis
0 siblings, 1 reply; 3+ messages in thread
From: Nick Clifton @ 2020-02-27 16:06 UTC (permalink / raw)
To: Gary Partis, binutils
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* ***UNCHECKED*** RE: Linker --fix-v4bx problem
2020-02-27 16:06 ` Nick Clifton
@ 2020-02-29 19:39 ` Gary Partis
0 siblings, 0 replies; 3+ messages in thread
From: Gary Partis @ 2020-02-29 19:39 UTC (permalink / raw)
To: Nick Clifton, binutils
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-02-29 19:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-09 16:34 Linker --fix-v4bx problem Gary Partis
2020-02-27 16:06 ` Nick Clifton
2020-02-29 19:39 ` ***UNCHECKED*** " Gary Partis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).