[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/15302] Branching to linker script symbol is resolved to improper

From: terry.guo at arm dot com
Subject: [Bug ld/15302] Branching to linker script symbol is resolved to improperly BLX instruction for cortex-m3
Date: Tue, 04 Jun 2013 10:40:07 +0000


--- Comment #3 from Terry Guo <terry.guo at arm dot com> ---
(In reply to Nick Clifton from comment #1)
> Created attachment 6968 [details]
> Do not enable blx use on thumb-only architectures.
> Hi Terry,
>   Please could you try out the uploaded patch and let me know if it works
> for you.
> Cheers
>   Nick

Apologize for my slow response. With your patch I got code like:

address@hidden:case$ ../install-native/bin/arm-none-eabi-objdump -d a.out 

a.out:     file format elf32-littlearm

Disassembly of section .text:

00000000 <main>:
   0:    b580          push    {r7, lr}
   2:    af00          add    r7, sp, #0
   4:    f000 f804     bl    10 <__extFunc_from_thumb>
   8:    bd80          pop    {r7, pc}
   a:    bf00          nop
   c:    0000          movs    r0, r0

00000010 <__extFunc_from_thumb>:
  10:    4778          bx    pc
  12:    46c0          nop            ; (mov r8, r8)
  14:    ea0003f9     b    1000 <__extFunc_from_thumb+0xff0>

It's same with Pavel's issue. Can you please continue to look into it?

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]