diff options
author | Jaewon Lee <jaewon.lee@xilinx.com> | 2019-03-27 10:50:40 -0700 |
---|---|---|
committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2019-12-09 16:55:23 -0800 |
commit | 2f7eeaadc25fc6e5e9deb9ebe5145e15bd631d1c (patch) | |
tree | 2e92d80a008087f649f152f574777458ba9aac65 /meta-xilinx-bsp/recipes-microblaze/gcc/gcc-9/0055-fixing-the-long-long-long-mingw-toolchain-issue.patch | |
parent | 5e7c4ffd6fe8013e8c4ac7e39e9fc0b251cafaeb (diff) | |
download | meta-xilinx-2f7eeaadc25fc6e5e9deb9ebe5145e15bd631d1c.tar.gz |
Update recipes for 2019.2 release
Update u-boot, kernel, ATF, QEMU, pmu-firmware, multimedia recipes for
2019.2 release.
The patch also upgrades gcc microblaze, newlib and libgloss versions.
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-microblaze/gcc/gcc-9/0055-fixing-the-long-long-long-mingw-toolchain-issue.patch')
-rw-r--r-- | meta-xilinx-bsp/recipes-microblaze/gcc/gcc-9/0055-fixing-the-long-long-long-mingw-toolchain-issue.patch | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-9/0055-fixing-the-long-long-long-mingw-toolchain-issue.patch b/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-9/0055-fixing-the-long-long-long-mingw-toolchain-issue.patch new file mode 100644 index 00000000..28554722 --- /dev/null +++ b/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-9/0055-fixing-the-long-long-long-mingw-toolchain-issue.patch | |||
@@ -0,0 +1,59 @@ | |||
1 | From a56b23ae244eee1da6d6595d3a6477085d77271e Mon Sep 17 00:00:00 2001 | ||
2 | From: Nagaraju Mekala <nmekala@xilix.com> | ||
3 | Date: Thu, 29 Nov 2018 17:55:08 +0530 | ||
4 | Subject: [PATCH 55/63] fixing the long & long long mingw toolchain issue | ||
5 | |||
6 | --- | ||
7 | gcc/config/microblaze/constraints.md | 2 +- | ||
8 | gcc/config/microblaze/microblaze.md | 8 ++++---- | ||
9 | 2 files changed, 5 insertions(+), 5 deletions(-) | ||
10 | |||
11 | diff --git a/gcc/config/microblaze/constraints.md b/gcc/config/microblaze/constraints.md | ||
12 | index 2fce91e..9a5aa6b 100644 | ||
13 | --- a/gcc/config/microblaze/constraints.md | ||
14 | +++ b/gcc/config/microblaze/constraints.md | ||
15 | @@ -55,7 +55,7 @@ | ||
16 | (define_constraint "K" | ||
17 | "A constant in the range 0xffffff8000000000L to 0x0000007fffffffffL (inclusive)." | ||
18 | (and (match_code "const_int") | ||
19 | - (match_test "ival > (long)-549755813888 && ival < (long)549755813887"))) | ||
20 | + (match_test "ival > (long long)-549755813888 && ival < (long long)549755813887"))) | ||
21 | |||
22 | ;; Define floating point constraints | ||
23 | |||
24 | diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md | ||
25 | index 6b6b7c6..a1dc41f 100644 | ||
26 | --- a/gcc/config/microblaze/microblaze.md | ||
27 | +++ b/gcc/config/microblaze/microblaze.md | ||
28 | @@ -648,8 +648,8 @@ | ||
29 | if (TARGET_MB_64) | ||
30 | { | ||
31 | if (GET_CODE (operands[2]) == CONST_INT && | ||
32 | - INTVAL(operands[2]) < (long)-549755813888 && | ||
33 | - INTVAL(operands[2]) > (long)549755813887) | ||
34 | + INTVAL(operands[2]) < (long long)-549755813888 && | ||
35 | + INTVAL(operands[2]) > (long long)549755813887) | ||
36 | FAIL; | ||
37 | } | ||
38 | }) | ||
39 | @@ -1266,7 +1266,7 @@ | ||
40 | (match_operand:DI 1 "immediate_operand" "J,I,Mnis"))] | ||
41 | "TARGET_MB_64 && (register_operand (operands[0], DImode) && | ||
42 | (GET_CODE (operands[1]) == CONST_INT && | ||
43 | - (INTVAL (operands[1]) <= (long)549755813887 && INTVAL (operands[1]) >= (long)-549755813888)))" | ||
44 | + (INTVAL (operands[1]) <= (long long)549755813887 && INTVAL (operands[1]) >= (long long)-549755813888)))" | ||
45 | "@ | ||
46 | addlk\t%0,r0,r0\t | ||
47 | addlik\t%0,r0,%1\t #N1 %X1 | ||
48 | @@ -1300,7 +1300,7 @@ | ||
49 | case 1: | ||
50 | case 2: | ||
51 | if (GET_CODE (operands[1]) == CONST_INT && | ||
52 | - (INTVAL (operands[1]) > (long)549755813887 || INTVAL (operands[1]) < (long)-549755813888)) | ||
53 | + (INTVAL (operands[1]) > (long long)549755813887 || INTVAL (operands[1]) < (long long)-549755813888)) | ||
54 | return "addlik\t%0,r0,%h1\n\tbsllli\t%0,%0,32\n\taddlik\t%0,%0,%j1 #li => la"; | ||
55 | else | ||
56 | return "addlik\t%0,r0,%1"; | ||
57 | -- | ||
58 | 2.7.4 | ||
59 | |||