Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 1 | From 582558f3c18d096885ab24e645899f310b148b5c 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/54] [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 0d3718f..88e0351 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 | |