diff options
Diffstat (limited to 'meta-xilinx-bsp/recipes-microblaze/gcc/gcc-9/0014-Patch-microblaze-Use-bralid-for-profiler-calls.patch')
-rw-r--r-- | meta-xilinx-bsp/recipes-microblaze/gcc/gcc-9/0014-Patch-microblaze-Use-bralid-for-profiler-calls.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-9/0014-Patch-microblaze-Use-bralid-for-profiler-calls.patch b/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-9/0014-Patch-microblaze-Use-bralid-for-profiler-calls.patch new file mode 100644 index 00000000..889a1e69 --- /dev/null +++ b/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-9/0014-Patch-microblaze-Use-bralid-for-profiler-calls.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From cbf1854e3569122ee1143e6716ff68275c26aced 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 14/63] [Patch, microblaze]: Use bralid for profiler calls | ||
5 | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> | ||
6 | |||
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 fa0806e..0a435b8 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.7.4 | ||
26 | |||