summaryrefslogtreecommitdiff
path: root/patches/gcc/4.9.4
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-06-06 06:24:18 (GMT)
committerAlexey Neyman <stilor@att.net>2017-06-06 06:24:18 (GMT)
commit8482b2935a06a8c622e7f302010436cf0fcc2848 (patch)
tree680c0c82ee1304eeb570abf4556da13699c0878a /patches/gcc/4.9.4
parent02f21e8bf37deaab1a836f4afd11c5fc8ee30220 (diff)
Fix the newly added msp430 sample with other GCC versions
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/gcc/4.9.4')
-rw-r--r--patches/gcc/4.9.4/1100-msp430-string-literals.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/patches/gcc/4.9.4/1100-msp430-string-literals.patch b/patches/gcc/4.9.4/1100-msp430-string-literals.patch
new file mode 100644
index 0000000..346842e
--- /dev/null
+++ b/patches/gcc/4.9.4/1100-msp430-string-literals.patch
@@ -0,0 +1,27 @@
+commit 9d247a3d78b97c004e7ca5e7d6cc9964dba870c7
+Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Wed May 13 01:11:13 2015 +0000
+
+ gcc/
+ * config/mmix/mmix.c, config/msp430/msp430.c: Add space between
+ string literal and macro name.
+ gcc/ada/
+ * sigtramp-vxworks.c: Add space between string literal and macro
+ name.
+
+ git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223106 138bc75d-0d04-0410-961f-82ee72b054a4
+
+[4.9 change: remove non-applicable parts of the patch]
+diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c
+index bec168ca2ae..58d0efea1de 100644
+--- a/gcc/config/msp430/msp430.c
++++ b/gcc/config/msp430/msp430.c
+@@ -2248,7 +2248,7 @@ static struct
+ }
+ const_shift_helpers[] =
+ {
+-#define CSH(N,C,X,G) { "__mspabi_"N, C, X, gen_##G }
++#define CSH(N,C,X,G) { "__mspabi_" N, C, X, gen_##G }
+
+ CSH ("slli", 1, 1, slli_1),
+ CSH ("slll", 1, 1, slll_1),