blob: 889a1e69aa082ac8b9d7236847024057301a7adc [file] [log] [blame]
Andrew Geissler84ad7c52020-06-27 00:00:16 -05001From cbf1854e3569122ee1143e6716ff68275c26aced Mon Sep 17 00:00:00 2001
Brad Bishop26bdd442019-08-16 17:08:17 -04002From: Mahesh Bodapati <mbodapat@xilinx.com>
3Date: Tue, 17 Jan 2017 10:57:19 +0530
Andrew Geissler84ad7c52020-06-27 00:00:16 -05004Subject: [PATCH 14/63] [Patch, microblaze]: Use bralid for profiler calls
Brad Bishop26bdd442019-08-16 17:08:17 -04005 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
11diff --git a/gcc/config/microblaze/microblaze.h b/gcc/config/microblaze/microblaze.h
Andrew Geissler84ad7c52020-06-27 00:00:16 -050012index fa0806e..0a435b8 100644
Brad Bishop26bdd442019-08-16 17:08:17 -040013--- 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--
252.7.4
26