This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Fix test case disassembly to use ldmfd
- From: Meador Inge <meadori at codesourcery dot com>
- To: <binutils at sourceware dot org>
- Cc: <nickc at redhat dot com>, <hans-peter dot nilsson at axis dot com>
- Date: Wed, 16 May 2012 11:43:29 -0500
- Subject: [PATCH] Fix test case disassembly to use ldmfd
Hi,
On April 12th my patch to use the A2 PUSH/POP encoding when possible
was applied. On May 16th my change to fix the disassembly of
'STMFD/LDMIA sp!, {reg}' instructions was added. In between
those commits the fix for PR ld/13990 applied on April 24th.
The test case for the PR ld/13990 fix was based on the old
disassembly. This patch fixes that.
Tested with arm-none-eabi configuration. No regressions.
OK?
P.S. If this is OK, then can someone commit for me? I don't have write
access.
2012-05-16 Meador Inge <meadori@codesourcery.com>
* ld-arm/gc-hidden-1.d: Fixed disassembly pattern.
---
ld/testsuite/ld-arm/gc-hidden-1.d | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ld/testsuite/ld-arm/gc-hidden-1.d b/ld/testsuite/ld-arm/gc-hidden-1.d
index 80c7e9e..7d84952 100644
--- a/ld/testsuite/ld-arm/gc-hidden-1.d
+++ b/ld/testsuite/ld-arm/gc-hidden-1.d
@@ -19,7 +19,7 @@ Disassembly of section .text:
0+124 <_start>:
124: e52de004 push {lr} ; \(str lr, \[sp, #-4\]!\)
128: eb000000 bl 130 <hidfn>
- 12c: e8bd8000 pop {pc}
+ 12c: e8bd8000 ldmfd sp!, {pc}
0+130 <hidfn>:
- 130: e8bd8000 pop {pc}
+ 130: e8bd8000 ldmfd sp!, {pc}
--
1.7.7.6