diff options
Diffstat (limited to 'meta-microblaze/recipes-devtools/binutils/binutils/0022-fixing-the-long-long-long-mingw-toolchain-issue.patch')
-rw-r--r-- | meta-microblaze/recipes-devtools/binutils/binutils/0022-fixing-the-long-long-long-mingw-toolchain-issue.patch | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/meta-microblaze/recipes-devtools/binutils/binutils/0022-fixing-the-long-long-long-mingw-toolchain-issue.patch b/meta-microblaze/recipes-devtools/binutils/binutils/0022-fixing-the-long-long-long-mingw-toolchain-issue.patch deleted file mode 100644 index 073aa49c..00000000 --- a/meta-microblaze/recipes-devtools/binutils/binutils/0022-fixing-the-long-long-long-mingw-toolchain-issue.patch +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | From 24269bd086efcd37f702b92fd25dfe45faa7dfb6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Nagaraju Mekala <nmekala@xilix.com> | ||
3 | Date: Thu, 29 Nov 2018 17:59:25 +0530 | ||
4 | Subject: [PATCH 22/34] fixing the long & long long mingw toolchain issue | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
9 | |||
10 | --- | ||
11 | gas/config/tc-microblaze.c | 10 +++++----- | ||
12 | opcodes/microblaze-opc.h | 4 ++-- | ||
13 | 2 files changed, 7 insertions(+), 7 deletions(-) | ||
14 | |||
15 | diff --git a/gas/config/tc-microblaze.c b/gas/config/tc-microblaze.c | ||
16 | index 76ce516d8aa..a1fb6ccbd44 100644 | ||
17 | --- a/gas/config/tc-microblaze.c | ||
18 | +++ b/gas/config/tc-microblaze.c | ||
19 | @@ -783,7 +783,7 @@ parse_imm (char * s, expressionS * e, offsetT min, offsetT max) | ||
20 | } | ||
21 | |||
22 | static char * | ||
23 | -parse_imml (char * s, expressionS * e, long min, long max) | ||
24 | +parse_imml (char * s, expressionS * e, long long min, long long max) | ||
25 | { | ||
26 | char *new_pointer; | ||
27 | char *atp; | ||
28 | @@ -834,11 +834,11 @@ parse_imml (char * s, expressionS * e, long min, long max) | ||
29 | ; /* An error message has already been emitted. */ | ||
30 | else if ((e->X_op != O_constant && e->X_op != O_symbol) ) | ||
31 | as_fatal (_("operand must be a constant or a label")); | ||
32 | - else if ((e->X_op == O_constant) && ((long) e->X_add_number < min | ||
33 | - || (long) e->X_add_number > max)) | ||
34 | + else if ((e->X_op == O_constant) && ((long long) e->X_add_number < min | ||
35 | + || (long long) e->X_add_number > max)) | ||
36 | { | ||
37 | - as_fatal (_("operand must be absolute in range %ld..%ld, not %ld"), | ||
38 | - min, max, (long) e->X_add_number); | ||
39 | + as_fatal (_("operand must be absolute in range %lld..%lld, not %lld"), | ||
40 | + min, max, (long long) e->X_add_number); | ||
41 | } | ||
42 | |||
43 | if (atp) | ||
44 | diff --git a/opcodes/microblaze-opc.h b/opcodes/microblaze-opc.h | ||
45 | index 5e45df995de..6b25d12dace 100644 | ||
46 | --- a/opcodes/microblaze-opc.h | ||
47 | +++ b/opcodes/microblaze-opc.h | ||
48 | @@ -585,8 +585,8 @@ char pvr_register_prefix[] = "rpvr"; | ||
49 | #define MIN_IMM6_WIDTH ((int) 0x00000001) | ||
50 | #define MAX_IMM6_WIDTH ((int) 0x00000040) | ||
51 | |||
52 | -#define MIN_IMML ((long) 0xffffff8000000000L) | ||
53 | -#define MAX_IMML ((long) 0x0000007fffffffffL) | ||
54 | +#define MIN_IMML ((long long) 0xffffff8000000000L) | ||
55 | +#define MAX_IMML ((long long) 0x0000007fffffffffL) | ||
56 | |||
57 | #endif /* MICROBLAZE_OPC */ | ||
58 | |||
59 | -- | ||
60 | 2.37.1 (Apple Git-137.1) | ||
61 | |||