diff options
author | Nick Clifton <nickc@redhat.com> | 2013-01-02 13:38:57 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-01-02 13:38:57 +0000 |
commit | 517bb291f28f940b186e9dc899eb621f71839e82 (patch) | |
tree | a79e5e37856b540bc7725053ffd0bb893c4590f8 /gas/config | |
parent | 4f15c8939e0b9515162367c915ee309dfc4d70a9 (diff) | |
download | gdb-517bb291f28f940b186e9dc899eb621f71839e82.zip gdb-517bb291f28f940b186e9dc899eb621f71839e82.tar.gz gdb-517bb291f28f940b186e9dc899eb621f71839e82.tar.bz2 |
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.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-arm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 80c06dc..33eacdb 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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"); |