diff options
Diffstat (limited to 'meta-microblaze/recipes-devtools/binutils/binutils/0009-Patch-Microblaze-fixed-bug-in-GCC-so-that-It-will-su.patch')
-rw-r--r-- | meta-microblaze/recipes-devtools/binutils/binutils/0009-Patch-Microblaze-fixed-bug-in-GCC-so-that-It-will-su.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-microblaze/recipes-devtools/binutils/binutils/0009-Patch-Microblaze-fixed-bug-in-GCC-so-that-It-will-su.patch b/meta-microblaze/recipes-devtools/binutils/binutils/0009-Patch-Microblaze-fixed-bug-in-GCC-so-that-It-will-su.patch new file mode 100644 index 00000000..47caf9ed --- /dev/null +++ b/meta-microblaze/recipes-devtools/binutils/binutils/0009-Patch-Microblaze-fixed-bug-in-GCC-so-that-It-will-su.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 81fc7ef231ca2890dfa827b4e8f3d0da107f9be2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mahesh Bodapati <mbodapat@xilinx.com> | ||
3 | Date: Fri, 29 Sep 2017 18:00:23 +0530 | ||
4 | Subject: [PATCH 09/34] [Patch,Microblaze]: fixed bug in GCC so that It will | ||
5 | support .long 0U and .long 0u | ||
6 | |||
7 | --- | ||
8 | gas/expr.c | 9 +++++++++ | ||
9 | 1 file changed, 9 insertions(+) | ||
10 | |||
11 | diff --git a/gas/expr.c b/gas/expr.c | ||
12 | index 6ad8bee2733..a1281ef71a8 100644 | ||
13 | --- a/gas/expr.c | ||
14 | +++ b/gas/expr.c | ||
15 | @@ -832,6 +832,15 @@ operand (expressionS *expressionP, enum expr_mode mode) | ||
16 | break; | ||
17 | } | ||
18 | } | ||
19 | + if ((*input_line_pointer == 'U') || (*input_line_pointer == 'u')) | ||
20 | + { | ||
21 | + input_line_pointer--; | ||
22 | + | ||
23 | + integer_constant ((NUMBERS_WITH_SUFFIX || flag_m68k_mri) | ||
24 | + ? 0 : 10, | ||
25 | + expressionP); | ||
26 | + break; | ||
27 | + } | ||
28 | c = *input_line_pointer; | ||
29 | switch (c) | ||
30 | { | ||
31 | -- | ||
32 | 2.37.1 (Apple Git-137.1) | ||
33 | |||