aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-08-26 14:40:18 +0000
committerNick Clifton <nickc@redhat.com>2008-08-26 14:40:18 +0000
commitfcef9eb7bc1d1620fa9835bb10ffe8a3b8e8280a (patch)
treea25a6ea61aa4cc5bed53568d63b6e85561ad4edb /bfd/elf32-arm.c
parent0ff587217ae8235beedbc5f367e945b1c15a864d (diff)
downloadgdb-fcef9eb7bc1d1620fa9835bb10ffe8a3b8e8280a.zip
gdb-fcef9eb7bc1d1620fa9835bb10ffe8a3b8e8280a.tar.gz
gdb-fcef9eb7bc1d1620fa9835bb10ffe8a3b8e8280a.tar.bz2
* elf32-arm.c: Fix up comment describing Thumb to ARM interworking
stub.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r--bfd/elf32-arm.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 6601c45..da1ac24 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -3913,9 +3913,10 @@ static const insn32 a2t3p_bx_r12_insn = 0xe12fff1c;
nop ldr r6, __func_addr
.arm mov lr, pc
b func bx r6
- ;; back_to_thumb .arm
- ldmia r13! {r6, lr} ldmia r13! {r6, lr}
- bx lr bx lr
+ .arm
+ ;; back_to_thumb
+ ldmia r13! {r6, lr}
+ bx lr
__func_addr:
.word func */