Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 1 | From 6ed57ee8219e5d09a294b329dd7c531a1868dc8a Mon Sep 17 00:00:00 2001 |
| 2 | From: Mahesh Bodapati <mbodapat@xilinx.com> |
| 3 | Date: Sat, 26 Aug 2017 19:21:31 -0700 |
| 4 | Subject: [PATCH] MicroBlaze use bralid for profiler calls |
| 5 | |
| 6 | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> |
| 7 | Signed-off-by: Mahesh Bodapati <mbodapat@xilinx.com> |
| 8 | Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> |
| 9 | Upstream-Status: Pending |
| 10 | --- |
| 11 | gcc/config/microblaze/microblaze.h | 2 +- |
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 13 | |
| 14 | diff --git a/gcc/config/microblaze/microblaze.h b/gcc/config/microblaze/microblaze.h |
| 15 | index ccd77e8b4d..0dd8b853e2 100644 |
| 16 | --- a/gcc/config/microblaze/microblaze.h |
| 17 | +++ b/gcc/config/microblaze/microblaze.h |
| 18 | @@ -519,7 +519,7 @@ typedef struct microblaze_args |
| 19 | |
| 20 | #define FUNCTION_PROFILER(FILE, LABELNO) { \ |
| 21 | { \ |
| 22 | - fprintf (FILE, "\tbrki\tr16,_mcount\n"); \ |
| 23 | + fprintf (FILE, "\tbralid\tr15,_mcount\nnop\n"); \ |
| 24 | } \ |
| 25 | } |
| 26 | |
| 27 | -- |
| 28 | 2.14.2 |
| 29 | |