PR gas/5712

* config/tc-arm.c (s_arm_unwind_save): Advance the input line
        pointer past the comma after parsing a floating point register
        name.

        * gas/arm/fp-save.s: New test.
        * gas/arm/fp-save.d: Expected disassembly.
This commit is contained in:
Nick Clifton 2008-02-14 16:35:51 +00:00
parent e81819a5c0
commit 93ac268764
5 changed files with 25 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2008-02-14 Dimitry Andric <dimitry@andric.com>
PR gas/5712
* config/tc-arm.c (s_arm_unwind_save): Advance the input line
pointer past the comma after parsing a floating point register
name.
2008-02-14 Hakan Ardo <hakan@debian.org>
PR gas/2626

View file

@ -3670,6 +3670,7 @@ s_arm_unwind_save (int arch_v6)
ignore_rest_of_line ();
return;
}
input_line_pointer = peek;
s_arm_unwind_save_fpa (reg->number);
return;

View file

@ -1,3 +1,9 @@
2008-02-14 Nick Clifton <nickc@redhat.com>
PR gas/5712
* gas/arm/fp-save.s: New test.
* gas/arm/fp-save.d: Expected disassembly.
2008-02-13 Adam Nemet <anemet@caviumnetworks.com>
* gas/mips/branch-misc-2pic-64.d (#name): Have a unique name

View file

@ -0,0 +1,9 @@
#objdump: -dr --prefix-addresses --show-raw-insn
#name: PR5712 - saving FP registers
#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-riscix*
#as: -mfpu=fpa
.*: *file format .*arm.*
Disassembly of section .text:
0+00 <[^>]*> ed2dc203[ ]+sfm[ ]+f4, 1, \[sp, #-12\]!

View file

@ -0,0 +1,2 @@
sfmfd f4, 1, [sp]!
.save f4, 1