diff options
author | Mark Hatle <mark.hatle@kernel.crashing.org> | 2022-07-28 21:58:26 -0500 |
---|---|---|
committer | Mark Hatle <mark.hatle@kernel.crashing.org> | 2022-09-01 09:53:21 -0500 |
commit | 8ea75cc272182dbda8c3ac9daaed2d85f0546030 (patch) | |
tree | f4c5ea1906fb202fe6998a93309b313cf91fb596 /meta-microblaze/recipes-devtools/gcc/gcc-12/0012-Patch-microblaze-Use-bralid-for-profiler-calls.patch | |
parent | 989c29f50ed005c5b6de0e3f57f0037460563ae8 (diff) | |
download | meta-xilinx-8ea75cc272182dbda8c3ac9daaed2d85f0546030.tar.gz |
meta-microblaze: Move to gcc-12 to match OE-Core
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Diffstat (limited to 'meta-microblaze/recipes-devtools/gcc/gcc-12/0012-Patch-microblaze-Use-bralid-for-profiler-calls.patch')
-rw-r--r-- | meta-microblaze/recipes-devtools/gcc/gcc-12/0012-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-12/0012-Patch-microblaze-Use-bralid-for-profiler-calls.patch b/meta-microblaze/recipes-devtools/gcc/gcc-12/0012-Patch-microblaze-Use-bralid-for-profiler-calls.patch new file mode 100644 index 00000000..917b6d70 --- /dev/null +++ b/meta-microblaze/recipes-devtools/gcc/gcc-12/0012-Patch-microblaze-Use-bralid-for-profiler-calls.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From fa6e9e4317f9adb0748ade5029cbe3a10504ab54 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 12/53] [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 2ecec750526..e32ce7dbb51 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 | |||