This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]