http://sourceware.org/bugzilla/show_bug.cgi?id=15302
--- 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: terguo01@terry-pc01: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> terguo01@terry-pc01:case$ 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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils