diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-09-24 21:18:21 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-09-24 21:18:21 +0200 |
commit | 2a8c74815479fd1b3064ac6e3efb7e8c62192bbf (patch) | |
tree | 0653f2074e58a5cafab3c4ba5b535aca4b1a7c50 /toolchain/binutils/patches/2.23.2/arm-whitespace.patch | |
parent | 3e43622856850d8c412e63897f9a9b74ea6e1606 (diff) | |
parent | 3064f02816dfac549b6d8f6f8c47a48d5a78fa55 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/binutils/patches/2.23.2/arm-whitespace.patch')
-rw-r--r-- | toolchain/binutils/patches/2.23.2/arm-whitespace.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.23.2/arm-whitespace.patch b/toolchain/binutils/patches/2.23.2/arm-whitespace.patch new file mode 100644 index 000000000..0bc560166 --- /dev/null +++ b/toolchain/binutils/patches/2.23.2/arm-whitespace.patch @@ -0,0 +1,23 @@ +diff -Nur binutils-2.23.2.orig/gas/config/tc-arm.c binutils-2.23.2/gas/config/tc-arm.c +--- binutils-2.23.2.orig/gas/config/tc-arm.c 2013-03-25 09:06:21.000000000 +0100 ++++ binutils-2.23.2/gas/config/tc-arm.c 2013-09-24 13:26:32.000000000 +0200 +@@ -885,6 +885,9 @@ + static inline int + skip_past_char (char ** str, char c) + { ++ /* PR gas/14987: Allow for whitespace before the expected character. */ ++ skip_whitespace (*str); ++ + if (**str == c) + { + (*str)++; +@@ -5168,6 +5171,9 @@ + return PARSE_OPERAND_SUCCESS; + } + ++ /* PR gas/14887: Allow for whitespace after the opening bracket. */ ++ skip_whitespace (p); ++ + if ((reg = arm_reg_parse (&p, REG_TYPE_RN)) == FAIL) + { + inst.error = _(reg_expected_msgs[REG_TYPE_RN]); |