diff options
author | Nick Clifton <nickc@redhat.com> | 2008-02-14 16:35:51 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-02-14 16:35:51 +0000 |
commit | 93ac268764b7d1a8c0582c787c712aad0672e732 (patch) | |
tree | 0d0e52b66b776787938ab75a24cd3c838fcee98a /gas | |
parent | e81819a5c075b642b3b4e171d3d0ce77d2c9da47 (diff) | |
download | gdb-93ac268764b7d1a8c0582c787c712aad0672e732.zip gdb-93ac268764b7d1a8c0582c787c712aad0672e732.tar.gz gdb-93ac268764b7d1a8c0582c787c712aad0672e732.tar.bz2 |
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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 7 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 1 | ||||
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/fp-save.d | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/fp-save.s | 2 |
5 files changed, 25 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 38ae551..679b3ff 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index a35204c..412db5f 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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; diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index d778fe0..eef8a7b 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -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 diff --git a/gas/testsuite/gas/arm/fp-save.d b/gas/testsuite/gas/arm/fp-save.d new file mode 100644 index 0000000..d32d930 --- /dev/null +++ b/gas/testsuite/gas/arm/fp-save.d @@ -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\]! diff --git a/gas/testsuite/gas/arm/fp-save.s b/gas/testsuite/gas/arm/fp-save.s new file mode 100644 index 0000000..d86d749 --- /dev/null +++ b/gas/testsuite/gas/arm/fp-save.s @@ -0,0 +1,2 @@ + sfmfd f4, 1, [sp]!
+ .save f4, 1
|