PR gas/14987

* gas/arm/neon-ldst-es.s: Add whitespace test.
	* gas/arm/neon-ldst-es.d: Update expected disassembly.

	* config/tc-arm.c (parse_address_main): Skip whitespace before a
	closing bracket.
This commit is contained in:
Nick Clifton 2013-01-02 13:38:57 +00:00
parent 4f15c8939e
commit 517bb291f2
7 changed files with 3782 additions and 3735 deletions

File diff suppressed because it is too large Load Diff

1966
gas/ChangeLog-2012 Normal file

File diff suppressed because it is too large Load Diff

View File

@ -5291,6 +5291,9 @@ parse_address_main (char **str, int i, int group_relocations,
return result;
}
/* PR gas/14987: Allow for whitespace before the closing bracket. */
skip_whitespace (p);
if (skip_past_char (&p, ']') == FAIL)
{
inst.error = _("']' expected");

File diff suppressed because it is too large Load Diff

1797
gas/testsuite/ChangeLog-2012 Normal file

File diff suppressed because it is too large Load Diff

View File

@ -55,3 +55,4 @@ Disassembly of section \.text:
0[0-9a-f]+ <[^>]+> f427288f vld2\.32 {d2-d3}, \[r7\]
0[0-9a-f]+ <[^>]+> f427208f vld4\.32 {d2-d5}, \[r7\]
0[0-9a-f]+ <[^>]+> f467c08f vld4\.32 {d28-d31}, \[r7\]
0[0-9a-f]+ <[^>]+> f4a21c83 vld1\.32 {d1\[\]}, \[r2\], r3

View File

@ -57,3 +57,6 @@
vld2.32 {q1},[r7]
vld4.32 {q1-q2},[r7]
vld4.32 {q14-q15},[r7]
@ PR 14987: Allow for whitespace before the closing bracket.
vld1.32 {d1[]}, [r2 ], r3