aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-arm.c7
2 files changed, 9 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9ff4b5c..6912012 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-26 Nick Clifton <nickc@redhat.com>
+
+ * elf32-arm.c: Fix up comment describing Thumb to ARM interworking
+ stub.
+
2008-08-25 Christophe Lyon <christophe.lyon@st.com>
* elf32-arm.c (arm_thumb_arm_v4t_short_branch_stub): Define.
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 */