diff options
author | Alexey Neyman <stilor@att.net> | 2017-06-05 23:39:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-05 23:39:42 -0700 |
commit | 173f02018cdcbfcaed32925ada2a7c255c210ee2 (patch) | |
tree | 680c0c82ee1304eeb570abf4556da13699c0878a /patches/gcc/4.9.4/1100-msp430-string-literals.patch | |
parent | 02f21e8bf37deaab1a836f4afd11c5fc8ee30220 (diff) | |
parent | 8482b2935a06a8c622e7f302010436cf0fcc2848 (diff) | |
download | crosstool-ng-173f02018cdcbfcaed32925ada2a7c255c210ee2.tar.gz crosstool-ng-173f02018cdcbfcaed32925ada2a7c255c210ee2.tar.bz2 crosstool-ng-173f02018cdcbfcaed32925ada2a7c255c210ee2.zip |
Merge pull request #736 from stilor/msp430-other-versions
Fix the newly added msp430 sample with other GCC versions
Diffstat (limited to 'patches/gcc/4.9.4/1100-msp430-string-literals.patch')
-rw-r--r-- | patches/gcc/4.9.4/1100-msp430-string-literals.patch | 27 |
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 00000000..346842e8 --- /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), |