diff options
Diffstat (limited to 'meta-microblaze/recipes-devtools/gcc/gcc-10/0013-Patch-microblaze-Use-bralid-for-profiler-calls.patch')
-rw-r--r-- | meta-microblaze/recipes-devtools/gcc/gcc-10/0013-Patch-microblaze-Use-bralid-for-profiler-calls.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-microblaze/recipes-devtools/gcc/gcc-10/0013-Patch-microblaze-Use-bralid-for-profiler-calls.patch b/meta-microblaze/recipes-devtools/gcc/gcc-10/0013-Patch-microblaze-Use-bralid-for-profiler-calls.patch new file mode 100644 index 00000000..36af2652 --- /dev/null +++ b/meta-microblaze/recipes-devtools/gcc/gcc-10/0013-Patch-microblaze-Use-bralid-for-profiler-calls.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 07a5c8b22a1cef99b2d4570ea080c503260161e4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mahesh Bodapati <mbodapat@xilinx.com> | ||
3 | Date: Tue, 17 Jan 2017 10:57:19 +0530 | ||
4 | Subject: [PATCH 13/58] [Patch, microblaze]: Use bralid for profiler calls | ||
5 | |||
6 | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> | ||
7 | --- | ||
8 | gcc/config/microblaze/microblaze.h | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/gcc/config/microblaze/microblaze.h b/gcc/config/microblaze/microblaze.h | ||
12 | index dc112f5301f..8aa3f155790 100644 | ||
13 | --- a/gcc/config/microblaze/microblaze.h | ||
14 | +++ b/gcc/config/microblaze/microblaze.h | ||
15 | @@ -486,7 +486,7 @@ typedef struct microblaze_args | ||
16 | |||
17 | #define FUNCTION_PROFILER(FILE, LABELNO) { \ | ||
18 | { \ | ||
19 | - fprintf (FILE, "\tbrki\tr16,_mcount\n"); \ | ||
20 | + fprintf (FILE, "\tbralid\tr15,_mcount\nnop\n"); \ | ||
21 | } \ | ||
22 | } | ||
23 | |||
24 | -- | ||
25 | 2.17.1 | ||
26 | |||