blob: e393f0fe211115ee6d548ba8d2d363381dd356c4 [file] [log] [blame]
Andrew Geissler10fa1492020-12-11 16:25:29 -06001From 6803fbc540db39865037994daa122cf10c0eb33a 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 Geissler10fa1492020-12-11 16:25:29 -06004Subject: [PATCH 12/54] [Patch, microblaze]: Use bralid for profiler calls
5 Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Brad Bishop26bdd442019-08-16 17:08:17 -04006
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 Geisslera9ff2b32020-10-16 10:11:54 -050012index dc112f5301f..8aa3f155790 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--
Andrew Geisslera9ff2b32020-10-16 10:11:54 -0500252.17.1
Brad Bishop26bdd442019-08-16 17:08:17 -040026