blob: 9ab38bbb3480b30d2356541b892e04583deeb6e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
From 6d52004e565699474956e8eaf4f11c32b1c2a64a Mon Sep 17 00:00:00 2001
From: Mahesh Bodapati <mbodapat@xilinx.com>
Date: Fri, 29 Sep 2017 18:00:23 +0530
Subject: [PATCH 11/38] fixed bug in GCC so that It will support .long 0U and
.long 0u
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
---
gas/expr.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gas/expr.c b/gas/expr.c
index 6ad8bee2733..a1281ef71a8 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -832,6 +832,15 @@ operand (expressionS *expressionP, enum expr_mode mode)
break;
}
}
+ if ((*input_line_pointer == 'U') || (*input_line_pointer == 'u'))
+ {
+ input_line_pointer--;
+
+ integer_constant ((NUMBERS_WITH_SUFFIX || flag_m68k_mri)
+ ? 0 : 10,
+ expressionP);
+ break;
+ }
c = *input_line_pointer;
switch (c)
{
--
2.25.1
|