summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/recipes-microblaze/binutils/binutils-2.30/0010-Fixed-bug-in-GCC-so-that-it-will-support-.long-0U-an.patch
diff options
context:
space:
mode:
authorAlejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>2018-03-23 13:25:57 -0700
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2018-05-25 11:11:04 -0700
commit58d49d31daa03d4d94706ae96fab6f740fbe114e (patch)
tree77a9246f65ebed47acc1d53ab1b012029713979d /meta-xilinx-bsp/recipes-microblaze/binutils/binutils-2.30/0010-Fixed-bug-in-GCC-so-that-it-will-support-.long-0U-an.patch
parente328a3e27e617b78268196ffc243feaac36c5e89 (diff)
downloadmeta-xilinx-58d49d31daa03d4d94706ae96fab6f740fbe114e.tar.gz
binutils: Rebase microblaze patches for binutils v2.30
oe-core has upgraded binutils to v2.30, which caused some of our patches to fail, rebase these along with other minimal changes to avoid these errors and provide compatibility with latest oe-core. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-microblaze/binutils/binutils-2.30/0010-Fixed-bug-in-GCC-so-that-it-will-support-.long-0U-an.patch')
-rw-r--r--meta-xilinx-bsp/recipes-microblaze/binutils/binutils-2.30/0010-Fixed-bug-in-GCC-so-that-it-will-support-.long-0U-an.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-microblaze/binutils/binutils-2.30/0010-Fixed-bug-in-GCC-so-that-it-will-support-.long-0U-an.patch b/meta-xilinx-bsp/recipes-microblaze/binutils/binutils-2.30/0010-Fixed-bug-in-GCC-so-that-it-will-support-.long-0U-an.patch
new file mode 100644
index 00000000..077343e6
--- /dev/null
+++ b/meta-xilinx-bsp/recipes-microblaze/binutils/binutils-2.30/0010-Fixed-bug-in-GCC-so-that-it-will-support-.long-0U-an.patch
@@ -0,0 +1,34 @@
1From e1bacaa7c1aa387f167afff74876c5acdffc39d9 Mon Sep 17 00:00:00 2001
2From: Mahesh Bodapati <mbodapat@xilinx.com>
3Date: Wed, 15 Nov 2017 17:45:35 -0800
4Subject: [PATCH] Fixed bug in GCC so that it will support .long 0U and .long
5 0u
6
7Signed-off-by: Mahesh Bodapati <mbodapat@xilinx.com>
8Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
9Upstream-Status: Pending
10
11---
12 gas/expr.c | 9 +++++++++
13 1 file changed, 9 insertions(+)
14
15diff --git a/gas/expr.c b/gas/expr.c
16index 3e28af6..0b7cc76 100644
17--- a/gas/expr.c
18+++ b/gas/expr.c
19@@ -810,6 +810,15 @@ operand (expressionS *expressionP, enum expr_mode mode)
20 break;
21 }
22 }
23+ if ((*input_line_pointer == 'U') || (*input_line_pointer == 'u'))
24+ {
25+ input_line_pointer--;
26+
27+ integer_constant ((NUMBERS_WITH_SUFFIX || flag_m68k_mri)
28+ ? 0 : 10,
29+ expressionP);
30+ break;
31+ }
32 c = *input_line_pointer;
33 switch (c)
34 {