blob: fb31d663f5933f772073ad95c16935d182d36540 [file] [log] [blame]
Andrew Geissler10fa1492020-12-11 16:25:29 -06001From e0820fe8c8d9b7504595794fe6e65151d22e2acf Mon Sep 17 00:00:00 2001
Brad Bishop26bdd442019-08-16 17:08:17 -04002From: Nagaraju Mekala <nmekala@xilix.com>
3Date: Fri, 19 Oct 2018 14:26:25 +0530
Andrew Geissler10fa1492020-12-11 16:25:29 -06004Subject: [PATCH 42/54] Fixed the missing stack adjustment in prologue of
Brad Bishop26bdd442019-08-16 17:08:17 -04005 modsi3 function
6
7---
8 libgcc/config/microblaze/modsi3.S | 1 +
9 1 file changed, 1 insertion(+)
10
11diff --git a/libgcc/config/microblaze/modsi3.S b/libgcc/config/microblaze/modsi3.S
Andrew Geisslera9ff2b32020-10-16 10:11:54 -050012index 9500d64bdc0..4dbb25900d9 100644
Brad Bishop26bdd442019-08-16 17:08:17 -040013--- a/libgcc/config/microblaze/modsi3.S
14+++ b/libgcc/config/microblaze/modsi3.S
15@@ -119,6 +119,7 @@ $LaRETURN_HERE:
16 lwi r30,r1,8
17 lwi r31,r1,12
18 rtsd r15,8
19+ addik r1,r1,16
20 #endif
21 .end __modsi3
22 .size __modsi3, . - __modsi3
23--
Andrew Geisslera9ff2b32020-10-16 10:11:54 -0500242.17.1
Brad Bishop26bdd442019-08-16 17:08:17 -040025