diff options
Diffstat (limited to 'meta-microblaze/recipes-devtools/binutils/binutils/0026-Patch-MicroBlaze-m64-This-patch-will-remove-imml-0-a.patch')
-rw-r--r-- | meta-microblaze/recipes-devtools/binutils/binutils/0026-Patch-MicroBlaze-m64-This-patch-will-remove-imml-0-a.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/meta-microblaze/recipes-devtools/binutils/binutils/0026-Patch-MicroBlaze-m64-This-patch-will-remove-imml-0-a.patch b/meta-microblaze/recipes-devtools/binutils/binutils/0026-Patch-MicroBlaze-m64-This-patch-will-remove-imml-0-a.patch deleted file mode 100644 index c17019d1..00000000 --- a/meta-microblaze/recipes-devtools/binutils/binutils/0026-Patch-MicroBlaze-m64-This-patch-will-remove-imml-0-a.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | From 6e92cc2429ec37ced6cc70596ad7c6217d25e806 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mahesh Bodapati <mbodapat@xilinx.com> | ||
3 | Date: Thu, 16 Apr 2020 18:08:58 +0530 | ||
4 | Subject: [PATCH 26/34] [Patch,MicroBlaze m64] : This patch will remove imml 0 | ||
5 | and imml -1 instructions when the offset is less than 16 bit for Type A | ||
6 | branch EA instructions. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Signed-off-by: Mark Hatle <mark.hatle@amd.com> | ||
11 | |||
12 | --- | ||
13 | gas/config/tc-microblaze.c | 6 ++---- | ||
14 | 1 file changed, 2 insertions(+), 4 deletions(-) | ||
15 | |||
16 | diff --git a/gas/config/tc-microblaze.c b/gas/config/tc-microblaze.c | ||
17 | index bccaafe296c..85509011f8c 100644 | ||
18 | --- a/gas/config/tc-microblaze.c | ||
19 | +++ b/gas/config/tc-microblaze.c | ||
20 | @@ -2158,9 +2158,7 @@ md_assemble (char * str) | ||
21 | if (exp.X_op != O_constant) | ||
22 | { | ||
23 | char *opc; | ||
24 | - if (microblaze_arch_size == 64 && (streq (name, "breai") || | ||
25 | - streq (name, "breaid") || | ||
26 | - streq (name, "brai") || streq (name, "braid"))) | ||
27 | + if (microblaze_arch_size == 64 && (streq (name, "brai") || streq (name, "braid"))) | ||
28 | opc = str_microblaze_64; | ||
29 | else | ||
30 | opc = NULL; | ||
31 | @@ -2923,7 +2921,7 @@ md_apply_fix (fixS * fixP, | ||
32 | case BFD_RELOC_MICROBLAZE_64: | ||
33 | case BFD_RELOC_MICROBLAZE_64_PCREL: | ||
34 | if (fixP->fx_r_type == BFD_RELOC_MICROBLAZE_64 | ||
35 | - || fixP->fx_r_type == BFD_RELOC_MICROBLAZE_64_PCREL) | ||
36 | + || fixP->fx_r_type == BFD_RELOC_MICROBLAZE_64_PCREL || (fixP->fx_r_type == BFD_RELOC_64_PCREL && microblaze_arch_size == 64)) | ||
37 | { | ||
38 | /* Generate the imm instruction. */ | ||
39 | if (((long long)val) > (long long)-549755813888 && ((long long)val) < (long long)549755813887) | ||
40 | -- | ||
41 | 2.37.1 (Apple Git-137.1) | ||
42 | |||