diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2020-12-03 16:37:29 -0800 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-12-04 16:23:30 -0800 |
commit | 64c6e9b11168046c044d87f6fcefea3c86c2e613 (patch) | |
tree | febfcf964c8b9b3b25b88965afb4dd193cbf5abb /meta-microblaze/recipes-devtools/binutils/binutils/0012-fixing-the-constant-range-check-issue.patch | |
parent | 3d886fe006c5cbfaea04beb424408db79ec233f5 (diff) | |
download | meta-xilinx-64c6e9b11168046c044d87f6fcefea3c86c2e613.tar.gz |
binutils: update to early gatesgarth version
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-microblaze/recipes-devtools/binutils/binutils/0012-fixing-the-constant-range-check-issue.patch')
-rw-r--r-- | meta-microblaze/recipes-devtools/binutils/binutils/0012-fixing-the-constant-range-check-issue.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-microblaze/recipes-devtools/binutils/binutils/0012-fixing-the-constant-range-check-issue.patch b/meta-microblaze/recipes-devtools/binutils/binutils/0012-fixing-the-constant-range-check-issue.patch new file mode 100644 index 00000000..4145b0da --- /dev/null +++ b/meta-microblaze/recipes-devtools/binutils/binutils/0012-fixing-the-constant-range-check-issue.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From e1cb5c37efd76b44a878574ee3baad4c7a882e3b Mon Sep 17 00:00:00 2001 | ||
2 | From: Nagaraju Mekala <nmekala@xilix.com> | ||
3 | Date: Mon, 16 Oct 2017 15:44:23 +0530 | ||
4 | Subject: [PATCH 12/52] fixing the constant range check issue sample error: not | ||
5 | in range ffffffff80000000..7fffffff, not ffffffff70000000 | ||
6 | |||
7 | --- | ||
8 | gas/config/tc-microblaze.c | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/gas/config/tc-microblaze.c b/gas/config/tc-microblaze.c | ||
12 | index 765abfb388..5810a74a5f 100644 | ||
13 | --- a/gas/config/tc-microblaze.c | ||
14 | +++ b/gas/config/tc-microblaze.c | ||
15 | @@ -757,7 +757,7 @@ parse_imm (char * s, expressionS * e, offsetT min, offsetT max) | ||
16 | if ((e->X_add_number >> 31) == 1) | ||
17 | e->X_add_number |= -((addressT) (1U << 31)); | ||
18 | |||
19 | - if (e->X_add_number < min || e->X_add_number > max) | ||
20 | + if ((int)e->X_add_number < min || (int)e->X_add_number > max) | ||
21 | { | ||
22 | as_fatal (_("operand must be absolute in range %lx..%lx, not %lx"), | ||
23 | (long) min, (long) max, (long) e->X_add_number); | ||
24 | -- | ||
25 | 2.17.1 | ||
26 | |||