bsp: handle mb profiling correctly
Do not use r16 to pass arguments to mcount Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com> Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
This commit is contained in:
parent
1c5721387d
commit
6b6fb58d15
2 changed files with 3 additions and 2 deletions
|
@ -199,4 +199,5 @@
|
|||
* cortexa9/smc.h
|
||||
* 4.2 bss 08/11/14 Added microblaze_flush_cache_ext_range and microblaze_invalidate_
|
||||
* cache_ext_range declarations in mb_interface.h CR#783821.
|
||||
******************************************************************************************/
|
||||
* Modified profile_mcount_mb.S to fix CR#808412.
|
||||
******************************************************************************************/
|
||||
|
|
|
@ -51,7 +51,7 @@ _mcount:
|
|||
swi r15, r1, 12
|
||||
add r5, r0, r15
|
||||
brlid r15, mcount
|
||||
add r6, r0, r16
|
||||
lwi r5, r1, 48
|
||||
|
||||
lwi r11, r1, 44
|
||||
lwi r12, r1, 40
|
||||
|
|
Loading…
Add table
Reference in a new issue