summaryrefslogtreecommitdiffstats
path: root/meta-microblaze/recipes-core/newlib/files/0010-Fixed-the-bug-in-crtinit.s-for-MB-64.patch
blob: 76b8337229dba80ccd770b3ed30f559d9524b758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 3790e623bec70441d7d34f9390760b611a968e9d Mon Sep 17 00:00:00 2001
From: Nagaraju <nmekala@xilinx.com>
Date: Tue, 14 Jan 2020 22:32:30 +0530
Subject: [PATCH 10/11] Fixed the bug in crtinit.s for MB-64

(cherry picked from commit bab2eafd2d4ca1f2caacd50120e8ac94aca1b7c4)
---
 libgloss/microblaze/crtinit.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgloss/microblaze/crtinit.S b/libgloss/microblaze/crtinit.S
index 854117536..f79140734 100644
--- a/libgloss/microblaze/crtinit.S
+++ b/libgloss/microblaze/crtinit.S
@@ -48,7 +48,7 @@ _crtinit:
 
 .Lloopsbss:	
 	sli	r0, r6, 0
-	addli	r6, r6, 4
+	addli	r6, r6, 8
 	rsubl	r18, r6, r7
 	beagti	r18, .Lloopsbss
 .Lendsbss:
-- 
2.34.1